bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/18288] linker -s output suboptimal


From: dilyan.palauzov at aegee dot org
Subject: [Bug gold/18288] linker -s output suboptimal
Date: Sun, 07 Jun 2015 11:42:28 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18288

--- Comment #17 from dilyan.palauzov at aegee dot org <dilyan.palauzov at aegee 
dot org> ---
I configured it now without -flto and uploaded the tarball at
http://mail.aegee.org/dpa/bz18288/opendkim-without-lto.tar.xz .  I use the
newest gold (66f38e2951a1).

cd opendkim/opendkim
gcc -fuse-ld=gold -LLIBS/ -std=gnu99 -pthread -pipe -O3 -pthread -Wl,-O1 -Wl,-z
-Wl,relro -Wl,-s -o .libs/opendkim opendkim-opendkim.o opendkim-opendkim-ar.o
opendkim-opendkim-arf.o opendkim-opendkim-crypto.o opendkim-opendkim-db.o
opendkim-opendkim-dns.o opendkim-opendkim-lua.o opendkim-config.o
opendkim-flowrate.o opendkim-reputation.o opendkim-stats.o opendkim-test.o
opendkim-util.o ../libopendkim/.libs/libopendkim.so ./LIBS/libtre.so -lmilter
./LIBS/libgnutls.so -lz ./LIBS/libtspi.so -lpthread ./LIBS/libtasn1.so -lnettle
-lhogweed ./LIBS/libgmp.so -ldb ./LIBS/libopendbx.so ./LIBS/libmemcachedutil.so
./LIBS/libmemcached.so ./LIBS/libsasl2.so ./LIBS/libstdc++.so -llua -lm
./LIBS/libunbound.so -lssl -lcrypto ../libvbr/.libs/libvbr.so
../librbl/.libs/librbl.so -lresolv -ldl ./LIBS/libstrl.so -pthread -Wl,-rpath
-Wl,/usr/lib64
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/../../../../x86_64-unknown-linux-gnu/bin/ld.gold:
internal error in set_offset, at ../../git/binutils-gdb/gold/output.cc:4650
collect2: error: ld returned 1 exit status

Is this because opendkim/opendkim/LIBS/lib{lua,milter}.a contain only LTO data
(and how can I see for a lib...a file, if it contains fat objects, lto objects,
or both?)

In any case, the error message above shall be improved.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]