Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21278 - [ffmpeg] 25472 fails to compile

Attached to Project: Arch Linux
Opened by Garry Roseman (sitquietly) - Friday, 15 October 2010, 23:26 GMT
Last edited by Ionut Biru (wonder) - Thursday, 18 November 2010, 13:39 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Compilation fails with message
/usr/bin/ld: warning: Cannot create .eh_frame_hdr section, --eh-frame-hdr ignored.


Additional info:

* package version(s)

ffmpeg-25472-1-x86_64

* config and/or log files etc.

log file attached


Steps to reproduce:

problem can be resolved by adding following to the
configure arguments (I don't know why):
--extra-cflags='-fPIC -shared'

(this "fix" was reported in the discussion of the ffmpeg in AUR)

This task depends upon

Closed by  Ionut Biru (wonder)
Thursday, 18 November 2010, 13:39 GMT
Reason for closing:  Works for me
Comment by Ionut Biru (wonder) - Saturday, 16 October 2010, 05:53 GMT
please attach config.mak and config.log. i'm building all packages in chroot and for me is working fine. somehow something is screwing the building and we have to find what.
Comment by Garry Roseman (sitquietly) - Saturday, 16 October 2010, 14:44 GMT
I figured it compiled perfectly for you. It will be nice if everyone can compile it from abs---

config files attached;

my CFLAGS is
CFLAGS="-march=atom -O2 -msse3 -mfpmath=sse -pipe"

my MAKEFLAGS is
MAKEFLAGS="-j3"

[edit] correct logs from unedited PKGBUILD attached
Comment by Ionut Biru (wonder) - Saturday, 16 October 2010, 17:14 GMT
i wanted without --extra-cflags='-fPIC -shared'

Loading...