Re: [gentoo-user] ffmpeg - fails to compile on amd64

2011-12-12 Thread Michael Hampicke
> # echo | gcc -dM -E - -march=native > /usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.3/cc1 -E -quiet -v - > -D_FORTIFY_SOURCE=2 -mtune=i686 -march=x86-64 Sorry, something went wrong while pasting this lines, here are the correct ones: # cc -mtune=i686 -E -v - &1 | grep cc1 /usr/libexec/gcc/x86_64-pc-

Re: [gentoo-user] ffmpeg - fails to compile on amd64

2011-12-12 Thread Michael Hampicke
>> No nothing crazy: >> CFLAGS="-Os -pipe -mtune=i686" > > i686? That's not amd64. You need something 64bit. Just use march=native > instead of mtune=i686. Wait, what! I could swear I was reading march=native just a few minutes ago. mtune=i686 on amd64 just doesn't seem right, but it should co

Re: [gentoo-user] ffmpeg - fails to compile on amd64

2011-12-12 Thread Michael Schreckenbauer
Am Montag, 12. Dezember 2011, 13:28:39 schrieb Joseph: > On 12/12/11 20:32, Michael Hampicke wrote: > >> Configuring source in > >> /var/tmp/portage/media-video/ffmpeg-0.7.8/work/ffmpeg-0.7.8 ... > >> x86_64-pc-linux-gnu-gcc is unable to create an executable file. > >> If x86_64-pc-linux-gnu-gcc is

Re: [gentoo-user] ffmpeg - fails to compile on amd64

2011-12-12 Thread Michael Hampicke
> No nothing crazy: > CFLAGS="-Os -pipe -mtune=i686" No you're right, that's nothing crazy. Perhaps you could paste the complete build log of your failed merge to pastebin[1]. Portage tells you where you can find that log file. The output of % emerge --info might prove useful too. [1] http://pas

Re: [gentoo-user] ffmpeg - fails to compile on amd64

2011-12-12 Thread Joseph
On 12/12/11 14:29, Dale wrote: [snip} gcc-config -l Then you can use gcc-config to set it if it is not set. If it is set, it should look like this: [1] x86_64-pc-linux-gnu-4.4.5 [2] x86_64-pc-linux-gnu-4.5.3 * Note the little * on the end? That is the one that it is trying to use. Some

Re: [gentoo-user] ffmpeg - fails to compile on amd64

2011-12-12 Thread Dale
Joseph wrote: On 12/12/11 14:52, Michael Mol wrote: [snip] gcc-config $SOME_PROFILE where SOME_PROFILE is something you'll find under /etc/env.d/gcc After that, things worked fine for me again. (I was in the process of building an email because I was going to ask this list for help, and I fi

Re: [gentoo-user] ffmpeg - fails to compile on amd64

2011-12-12 Thread Joseph
On 12/12/11 20:32, Michael Hampicke wrote: Configuring source in /var/tmp/portage/media-video/ffmpeg-0.7.8/work/ffmpeg-0.7.8 ... x86_64-pc-linux-gnu-gcc is unable to create an executable file. If x86_64-pc-linux-gnu-gcc is a cross-compiler, use the --enable-cross-compile option. Only do this if y

Re: [gentoo-user] ffmpeg - fails to compile on amd64

2011-12-12 Thread Joseph
On 12/12/11 14:52, Michael Mol wrote: [snip] gcc-config $SOME_PROFILE where SOME_PROFILE is something you'll find under /etc/env.d/gcc After that, things worked fine for me again. (I was in the process of building an email because I was going to ask this list for help, and I figured out the s

Re: [gentoo-user] ffmpeg - fails to compile on amd64

2011-12-12 Thread Michael Mol
On Mon, Dec 12, 2011 at 2:28 PM, Joseph wrote: > I"m trying to install "kino" but ffmpeg fails to compile: > Configuring source in /var/tmp/portage/media-video/ffmpeg-0.7.8/work/ffmpeg-0.7.8 ... > > x86_64-pc-linux-gnu-gcc is unable to create an executable file. > If x86_64-pc-linux-gnu-

Re: [gentoo-user] ffmpeg - fails to compile on amd64

2011-12-12 Thread Michael Hampicke
> Configuring source in > /var/tmp/portage/media-video/ffmpeg-0.7.8/work/ffmpeg-0.7.8 ... > x86_64-pc-linux-gnu-gcc is unable to create an executable file. > If x86_64-pc-linux-gnu-gcc is a cross-compiler, use the > --enable-cross-compile option. > Only do this if you know what cross compiling mean

[gentoo-user] ffmpeg - fails to compile on amd64

2011-12-12 Thread Joseph
I"m trying to install "kino" but ffmpeg fails to compile: Configuring source in /var/tmp/portage/media-video/ffmpeg-0.7.8/work/ffmpeg-0.7.8 ... x86_64-pc-linux-gnu-gcc is unable to create an executable file. If x86_64-pc-linux-gnu-gcc is a cross-compiler, use the --enable-cross-compile option