Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431054 - net-misc/icecast-2.3.3 USE=yp - libtool linker mangles CFLAGS ( x86_64-pc-linux-gnu-gcc: error: l1-cache-line-size=64: No such file or directory )
Summary: net-misc/icecast-2.3.3 USE=yp - libtool linker mangles CFLAGS ( x86_64-pc-lin...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cflags
  Show dependency tree
 
Reported: 2012-08-12 08:48 UTC by Quasimodo
Modified: 2021-05-03 21:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,41.72 KB, text/plain)
2012-08-12 08:50 UTC, Quasimodo
Details
emerge --info (emerge-info.txt,5.97 KB, text/plain)
2012-08-12 08:52 UTC, Quasimodo
Details
emerge -pqv (emerge-pqv.txt,74 bytes, text/plain)
2012-08-12 08:53 UTC, Quasimodo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Quasimodo 2012-08-12 08:48:08 UTC
icecast-2.3.3 fails to compile with USE flag "yp" with gcc 4.6.3

Reproducible: Always
Comment 1 Quasimodo 2012-08-12 08:50:42 UTC
Created attachment 321080 [details]
build.log
Comment 2 Quasimodo 2012-08-12 08:52:56 UTC
Created attachment 321082 [details]
emerge --info
Comment 3 Quasimodo 2012-08-12 08:53:29 UTC
Created attachment 321084 [details]
emerge -pqv
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-12 15:31:52 UTC
/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
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-08-12 15:55:24 UTC
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
Comment 6 Quasimodo 2012-08-12 17:31:45 UTC
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"
Comment 7 SpanKY gentoo-dev 2012-08-12 18:12:11 UTC
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
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2012-08-12 18:58:01 UTC
(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
Comment 9 SpanKY gentoo-dev 2012-08-12 20:10:16 UTC
we're certainly not going to do anything custom to Gentoo's libtool.  probably want to report to bug-libtool@gnu.org.