Summary: | media-libs/fontconfig-2.10.2-r1 ABI_X86="32 64" - /usr/lib32/libfreetype.a(ftgzip.o): In function `ft_gzip_stream_close': (.text+0x1ab): undefined reference to `inflateEnd' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Carlos Manuelda <StormByte> |
Component: | Current packages | Assignee: | Ben de Groot (RETIRED) <yngwin> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | fonts, multilib+disabled |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Build log
emerge --info freetype build log freetype build log (corrected) x86 config.log |
Description
David Carlos Manuelda
2013-05-24 14:31:47 UTC
Created attachment 349062 [details]
Build log
Created attachment 349064 [details]
emerge --info
whats the output of: ls /usr/lib32/libfreetype* ls /usr/lib32/libfreetype* /usr/lib32/libfreetype.a Maybe it is freetype ebuild who does not install its shared 32bit library? And BTW all versions of fontconfig (even hard masked ones) fails with similar issues with linking to freetype (In reply to comment #4) > ls /usr/lib32/libfreetype* > /usr/lib32/libfreetype.a > > Maybe it is freetype ebuild who does not install its shared 32bit library? yes that should be it, please attach freetype's build.log Created attachment 349086 [details]
freetype build log
Created attachment 349088 [details]
freetype build log (corrected)
checking whether the x86_64-pc-linux-gnu-gcc -m32 -O2 -pipe -march=core2 -msse4.1 linker (x86_64-pc-linux-gnu-ld -m elf_i386 -Wl,-O1 -Wl,--as-needed -Wl,--sort-common) supports shared libraries... no now the config.log for x86 please :) Created attachment 349092 [details]
x86 config.log
its likely because you have this set in your emerge --info: LDFLAGS_x86="-m elf_i386 -Wl,-O1 -Wl,--as-needed -Wl,--sort-common" did you set this manually? please remove it and freetype should be fine I have in /etc/portage/make.conf this CFLAGS="-O2 -pipe -march=core2 -msse4.1" CFLAGS_x86="${CFLAGS_x86} ${CFLAGS}" CXXFLAGS="${CFLAGS}" CXXFLAGS_x86="${CFLAGS_x86} ${CFLAGS}" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common" LDFLAGS_x86="${LDFLAGS_x86} ${LDFLAGS}" ABI_X86="64 32" Seems something is bad while doing this, just don't know what, but yes, commenting LDFLAGS_x86 worked. (In reply to comment #12) > Seems something is bad while doing this, just don't know what, but yes, > commenting LDFLAGS_x86 worked. despite similar names, these two variables are very different: LDFLAGS is fed to gcc. LDFLAGS_$ARCH is fed to ld. If you want to set it, you should strip the -Wl, part, e.g.: LDFLAGS_x86="${LDFLAGS_x86} -O1 --as-needed --sort-common" but I wouldnt recommend this as this should be done automagically by simply setting LDFLAGS. closing as worksforme as it is a configuration problem. |