1 |
On 12/12/11 20:32, Michael Hampicke wrote: |
2 |
>> Configuring source in |
3 |
>> /var/tmp/portage/media-video/ffmpeg-0.7.8/work/ffmpeg-0.7.8 ... |
4 |
>> x86_64-pc-linux-gnu-gcc is unable to create an executable file. |
5 |
>> If x86_64-pc-linux-gnu-gcc is a cross-compiler, use the |
6 |
>> --enable-cross-compile option. |
7 |
>> Only do this if you know what cross compiling means. |
8 |
>> C compiler test failed. |
9 |
> |
10 |
>Do you have enabled the "cpudetection" and/or "custom-cflags" use flags? |
11 |
>Or do you use some crazy CFLAGS? |
12 |
>ffmpeg 0.7.8 compiles just fine on my amd64 box. |
13 |
|
14 |
No nothing crazy: |
15 |
CFLAGS="-Os -pipe -mtune=i686" |
16 |
|
17 |
I'm not even sure if these flags are correct for my CPU: |
18 |
AMD FX(tm)-8150 Eight-Core Processor |
19 |
|
20 |
The flags suggestion I found on gentoo wiki are crazy: |
21 |
http://en.gentoo-wiki.com/wiki/Safe_Cflags/AMD#AMD_FX-8xxx.2F6xxx.2F4xxx_.28Bulldozer.29 |
22 |
|
23 |
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=bdver1 -mtune=bdver1 -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx" |
24 |
|
25 |
Whoever suggested these flags must have been on some drugs :-/ |
26 |
|
27 |
-- |
28 |
Joseph |