Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627734 - dev-libs/libxslt-1.1.29-r1 - x86_64-pc-linux-gnux32-gcc -m64 ...: /usr/libx32/libgcrypt.so: error adding symbols: File in wrong format
Summary: dev-libs/libxslt-1.1.29-r1 - x86_64-pc-linux-gnux32-gcc -m64 ...: /usr/libx32...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: x32
  Show dependency tree
 
Reported: 2017-08-12 23:17 UTC by Daniel Santos
Modified: 2021-01-09 12:40 UTC (History)
2 users (show)

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


Attachments
libxslt-1.1.29-r1:20170812-225038.log (libxslt-1.1.29-r1:20170812-225038.log,79.08 KB, text/plain)
2017-08-12 23:17 UTC, Daniel Santos
Details
libxslt-1.1.34-r1 build log (libxslt-1.1.34-r1:20210108-172611.log,298.81 KB, text/x-log)
2021-01-08 17:32 UTC, EoD
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Santos 2017-08-12 23:17:42 UTC
Created attachment 488722 [details]
libxslt-1.1.29-r1:20170812-225038.log

Note below -m64 and -L/usr/libx32 and other /usr/libx32 references.  This is a fairly fresh build from a stage3 and I've set ABI_X86="x32 64 32"


x86_64-pc-linux-gnux32-gcc -m64 -shared  -fPIC -DPIC  .libs/exslt.o .libs/common.o .libs/crypto.o .libs/math.o .libs/sets.o .libs/functions.o .libs/strings.o .libs/date.o .libs/saxon.o .libs/dynamic.o   -Wl,-rpath -Wl,/tmp/portage/dev-libs/libxslt-1.1.29-r1/work/libxslt-1.1.29-abi_x86_64.amd64/libxslt/.libs -Wl,--as-needed ../libxslt/.libs/libxslt.so -lxml2 -lz -llzma -licui18n -licuuc -licudata -lm -ldl /usr/libx32/libgcrypt.so -L/usr/libx32 -lgpg-error  -m64 -march=sandybridge -mtune=sandybridge -O2 -ggdb -Wl,-O1   -Wl,-soname -Wl,libexslt.so.0 -o .libs/libexslt.so.0.8.17
/usr/lib/gcc/x86_64-pc-linux-gnux32/5.4.0/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/libx32/libxml2.so when searching for -lxml2
/usr/lib/gcc/x86_64-pc-linux-gnux32/5.4.0/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/libx32/libxml2.a when searching for -lxml2
/usr/lib/gcc/x86_64-pc-linux-gnux32/5.4.0/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/libx32/libz.so when searching for -lz
/usr/lib/gcc/x86_64-pc-linux-gnux32/5.4.0/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/libx32/libz.a when searching for -lz
/usr/lib/gcc/x86_64-pc-linux-gnux32/5.4.0/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/libx32/liblzma.so when searching for -llzma
/usr/lib/gcc/x86_64-pc-linux-gnux32/5.4.0/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/libx32/liblzma.a when searching for -llzma
/usr/lib/gcc/x86_64-pc-linux-gnux32/5.4.0/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/libx32/libicui18n.so when searching for -licui18n
/usr/lib/gcc/x86_64-pc-linux-gnux32/5.4.0/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/libx32/libicui18n.a when searching for -licui18n
/usr/lib/gcc/x86_64-pc-linux-gnux32/5.4.0/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/libx32/libicuuc.so when searching for -licuuc
/usr/lib/gcc/x86_64-pc-linux-gnux32/5.4.0/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/libx32/libicuuc.a when searching for -licuuc
/usr/lib/gcc/x86_64-pc-linux-gnux32/5.4.0/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/libx32/libicudata.so when searching for -licudata
/usr/lib/gcc/x86_64-pc-linux-gnux32/5.4.0/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/libx32/libicudata.a when searching for -licudata
/usr/lib/gcc/x86_64-pc-linux-gnux32/5.4.0/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/libx32/libm.so when searching for -lm
/usr/lib/gcc/x86_64-pc-linux-gnux32/5.4.0/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/libx32/libm.a when searching for -lm
/usr/lib/gcc/x86_64-pc-linux-gnux32/5.4.0/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/libx32/libdl.so when searching for -ldl
/usr/lib/gcc/x86_64-pc-linux-gnux32/5.4.0/../../../../x86_64-pc-linux-gnux32/bin/ld: skipping incompatible /usr/libx32/libdl.a when searching for -ldl
/usr/libx32/libgcrypt.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:500: libexslt.la] Error 1
make[2]: Leaving directory '/tmp/portage/dev-libs/libxslt-1.1.29-r1/work/libxslt-1.1.29-abi_x86_64.amd64/libexslt'
make[1]: *** [Makefile:616: all-recursive] Error 1
make[1]: Leaving directory '/tmp/portage/dev-libs/libxslt-1.1.29-r1/work/libxslt-1.1.29-abi_x86_64.amd64'
make: *** [Makefile:442: all] Error 2



$ emerge --info
Portage 2.3.6 (python 3.4.5-final-0, default/linux/amd64/13.0/x32, gcc-5.4.0, glibc-2.23-r4, 4.9.39-gentoo x86_64)
=================================================================
System uname: Linux-4.9.39-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.3
KiB Mem:     8054248 total,    976884 free
KiB Swap:    8388604 total,   8353068 free
Timestamp of repository gentoo: Fri, 11 Aug 2017 15:30:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28 p1.2) 2.28
distcc 3.2rc1 x86_64-pc-linux-gnux32 [disabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28-r2::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

happy-vm1-local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnux32"
CFLAGS="-march=sandybridge -mtune=sandybridge --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -O2 -ggdb"
CHOST="x86_64-pc-linux-gnux32"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=sandybridge -mtune=sandybridge --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -O2 -ggdb"
DISTDIR="/home/distfiles"
EMERGE_DEFAULT_OPTS="-j3 --load-average=11 --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy cgroup compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo rsync://rsync.gtlib.gatech.edu/gentoo rsync://gentoo.cs.uni.edu/gentoo-distfiles"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8 --load-average=8.75"
PKGDIR="/home/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
USE="acl aes aio amd64 avx berkdb bindist bzip2 cdda cddb cdio clang cli cmake cracklib crypt cxx dbus designer device-mapper dri fluidsynth fortran fuse gcj gdbm git glamor hardened highlight iconv icu ipv6 jpeg2k lzma lzo midi mmx mmxext modules mtp multicall multilib multitarget natspec ncurses nls nptl objc objc++ objc-gc openmp pam pcre perl popcnt projectm rar readline sasl savedconfig seccomp session sid smp snappy spice sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 static-libs subversion svg syslog systemtap tcpd threads tty-helpers unicode valgrind vim-syntax virtio xattr xen zeroconf zlib" ABI_X86="64 32 x32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="coreboot efi emu multiboot qemu pc" INPUT_DEVICES="keyboard mouse joystick evdev wacom vmmouse" KERNEL="linux" L10N="en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en" LLVM_TARGETS="AMDGPU ARM BPF NVPTX Mips X86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="aarch64 arm armeb i386 m68k mips mips64 mips64el mipsel mipsn32 mipsn32el ppc ppc64 ppc64abi32 ppc64le x86_64" QEMU_USER_TARGETS="aarch64 arm armeb i386 m68k mips mips64 mips64el mipsel mipsn32 mipsn32el ppc ppc64 ppc64abi32 ppc64le x86_64" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="intel radeon vesa qxl vmware" XFCE_PLUGINS="brightness clock trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Daniel Santos 2017-08-12 23:57:31 UTC
At somebody's suggestion, I tried with gcc-6.4.0 with the same result.
Comment 2 EoD 2017-11-08 22:28:44 UTC
I can confirm that this also happens also on upgrading from libxslt-1.1.28-r5 which I was able to install (apparently).
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2018-10-28 22:05:17 UTC
How about libxslt-1.1.32? Seems to work for me.
Comment 4 EoD 2021-01-08 15:54:13 UTC
I can confirm that dev-libs/libxslt-1.1.34-r1 builds fine abi_x86_x32!
Comment 5 EoD 2021-01-08 17:32:25 UTC
Created attachment 681973 [details]
libxslt-1.1.34-r1 build log
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-09 12:40:43 UTC
(In reply to EoD from comment #4)
> I can confirm that dev-libs/libxslt-1.1.34-r1 builds fine abi_x86_x32!

Thank you!