http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59626

--- Comment #16 from David Kredba <nheghathivhistha at gmail dot com> ---
Todays Gentoo to tree pushed flac-1.3.0 with gcc-4.9 rev. 208429. The flac
package is still broken in ABI=32 but this should go anyway I think.

/usr/include/bits/stdio2.h: In function
'FLAC__metadata_simple_iterator_get_application_id':
/usr/include/bits/stdio2.h:282:1: error: inlining failed in call to
always_inline 'fread': recursive inlining
 fread (void *__restrict __ptr, size_t __size, size_t __n,
 ^
/usr/include/bits/stdio2.h:295:3: error: called from here
   return __fread_alias (__ptr, __size, __n, __stream);
   ^
make[5]: ***
[/var/tmp/portage/media-libs/flac-1.3.0/temp/ccp3QvqG.ltrans4.ltrans.o] Error 1
make[5]: *** Waiting for unfinished jobs....


Called this way:

libtool: link: x86_64-pc-linux-gnu-gcc -m32 -std=gnu99 -shared  -fPIC -DPIC 
.libs/bitmath.o .libs/bitreader.o .libs/bitwriter.o .libs/cpu.o .libs/crc.o
.libs/fixed.o .libs/float.o .libs/format.o .libs/lpc.o .libs/md5.o
.libs/memory.o .libs/metadata_iterators.o .libs/metadata_object.o
.libs/stream_decoder.o .libs/stream_encoder.o .libs/stream_encoder_framing.o
.libs/window.o .libs/ogg_decoder_aspect.o .libs/ogg_encoder_aspect.o
.libs/ogg_helper.o .libs/ogg_mapping.o  -Wl,--whole-archive
ia32/.libs/libFLAC-asm.a -Wl,--no-whole-archive  -Wl,--as-needed -L/usr/lib
-logg -lm  -m32 -flto=4 -fuse-linker-plugin -O2 -march=native -mtune=native
-mno-3dnow -mno-sse4.2 -mno-avx -flto=4 -fuse-linker-plugin -Wl,-O2 -Wl,-flto
-O2 -march=native -mtune=native -mno-3dnow -mno-sse4.2 -mno-avx   -Wl,-soname
-Wl,libFLAC.so.8 -o .libs/libFLAC.so.8.3.0

Binutils are patched by Markus's slim-lto patch.

Reply via email to