icecast-2.3.3 fails to compile with USE flag "yp" with gcc 4.6.3 Reproducible: Always
Created attachment 321080 [details] build.log
Created attachment 321082 [details] emerge --info
Created attachment 321084 [details] emerge -pqv
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -pthread -O2 -march=corei7 -mno-movbe -mno-aes -mno-pclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7 -pipe -L/usr/lib -Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common -o icecast cfgfile.o main.o logging.o sighandler.o connection.o global.o util.o slave.o source.o stats.o refbuf.o client.o xslt.o fserve.o event.o admin.o md5.o format.o format_ogg.o format_mp3.o format_midi.o format_flac.o auth.o auth_htpasswd.o format_kate.o format_skeleton.o format_vorbis.o format_theora.o format_speex.o auth_url.o yp.o net/libicenet.la thread/libicethread.la httpp/libicehttpp.la log/libicelog.la avl/libiceavl.la timing/libicetiming.la -lcurl -lssl -lcrypto -lldap -lrt -O2 -march=core2 -mcx16 -msahf -mpopcnt -msse4.2 --param l1-cache-size=32 l1-cache-line-size=64 l2-cache-size=256 -mtune=core2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lspeex -ltheora -lvorbis -logg -L/usr/lib64 -lxslt -lxml2 -lz -lm libtool: link: x86_64-pc-linux-gnu-gcc -pthread -O2 -march=corei7 -mno-movbe -mno-aes -mno-pclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7 -pipe -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -o icecast cfgfile.o main.o logging.o sighandler.o connection.o global.o util.o slave.o source.o stats.o refbuf.o client.o xslt.o fserve.o event.o admin.o md5.o format.o format_ogg.o format_mp3.o format_midi.o format_flac.o auth.o auth_htpasswd.o format_kate.o format_skeleton.o format_vorbis.o format_theora.o format_speex.o auth_url.o yp.o -O2 -march=core2 -mcx16 -msahf -mpopcnt -msse4.2 --param l1-cache-size=32 l1-cache-line-size=64 l2-cache-size=256 -mtune=core2 -pipe -Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -L/usr/lib net/.libs/libicenet.a thread/.libs/libicethread.a httpp/.libs/libicehttpp.a log/.libs/libicelog.a avl/.libs/libiceavl.a timing/.libs/libicetiming.a -lcurl /usr/lib64/libldap.so -L/usr/lib64 /usr/lib64/liblber.so /usr/lib64/libsasl2.so -lcrypt -lssl -lcrypto -lrt -Wl,--as-needed -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkeyutils -lresolv -ldl -lspeex -ltheora -lvorbis -logg -lxslt -lxml2 -lz -lm -pthread x86_64-pc-linux-gnu-gcc: error: l1-cache-line-size=64: No such file or directory x86_64-pc-linux-gnu-gcc: error: l2-cache-size=256: No such file or directory make[3]: *** [icecast] Fehler 1
The reporter is just asking for a trouble with stuff like ... CFLAGS="-O2 -march=corei7 -mno-movbe -mno-aes -mno-pclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7 -pipe" ... but CCing libtool maintainers (base-system) to look at this anyway
Well, these are only parameter that gcc --march=native would set anyways. Also, most of them are -mno* to switch of unavailable features. They are probably not needed, but I hadn't got the time to clean it, after changing to gcc-4.6 today. Also, the error exists with the gcc-4.5 with CFLAGS="-O2 -pipe -march=core2 -mcx16 -msahf -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2"
i feel like this has been reported before, but i can't find it icecast is shipping with an old libtool (1.5.x), so maybe regenerating autotools in there would help
(In reply to comment #7) > i feel like this has been reported before, but i can't find it > > icecast is shipping with an old libtool (1.5.x), so maybe regenerating > autotools in there would help We already run eautoreconf in the ebuild
we're certainly not going to do anything custom to Gentoo's libtool. probably want to report to bug-libtool@gnu.org.