Package: binutils-gold Version: 2.21.0.20110322-1 Severity: normal Howdy! I'm trying to build my libtorque package using binutils-gold. It appears that gold doesn't honor the --default-symver option, or understand it. This makes sense; running strings on ld.gold doesn't list it, nor is it in the gold/ subdirectory of binutils source. It is still, however, listed in the man page.
Either gold ought implement the option (preferable), or the man page ought be conditionalized on installed linker capability, and a proper diversion installed. Thanks! cc -pipe -std=gnu99 -DLIBTORQUE_WITHOUT_NUMA -DTORQUE_LINUX -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -rdynamic -g -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/cuda -Isrc -fpic -march=native -mtune=native -O2 -fomit-frame- pointer -finline-functions -fdiagnostics-show-option -fvisibility=hidden -fipa- cp -ftree-loop-linear -ftree-loop-im -ftree-loop-ivcanon -fno-common -ftree- vectorizer-verbose=5 -Werror -Wall -W -Wextra -Wmissing-prototypes -Wundef -Wshadow -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wsign- compare -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wdeclaration-after- statement -Wfloat-equal -Wpacked -Winvalid-pch -Wdisabled-optimization -Wcast- align -Wformat -Wformat-security -Wold-style-definition -Woverlength-strings -Wwrite-strings -Wstrict-aliasing=3 -Wunsafe-loop-optimizations -Wstrict- overflow=1 -shared -o .out/lib/libtorque.so.0.0.1 ..out/src/libtorque/events/sources.o .out/src/libtorque/events/signal.o ..out/src/libtorque/events/sysdep.o .out/src/libtorque/events/evq.o ..out/src/libtorque/events/fd.o .out/src/libtorque/events/path.o ..out/src/libtorque/events/thread.o .out/src/libtorque/events/timer.o ..out/src/libtorque/torque.o .out/src/libtorque/alloc.o ..out/src/libtorque/conn.o .out/src/libtorque/hardware/x86cpuid.o ..out/src/libtorque/hardware/topology.o .out/src/libtorque/hardware/cuda.o ..out/src/libtorque/hardware/memory.o .out/src/libtorque/hardware/numa.o ..out/src/libtorque/hardware/arch.o .out/src/libtorque/buffers.o ..out/src/libtorque/schedule.o .out/src/libtorque/protos/dns.o ..out/src/libtorque/protos/ssl.o .out/src/libtorque/internal.o -Wl,--warn- shared-textrel -Wl,-O,--default-symver,--enable-new-dtags,--as-needed,--warn- common -Wl,--fatal-warnings,-z,noexecstack,-z,combreloc -Wl,-soname,libtorque.so.0 -ladns -lssl -lcrypto -L/usr/lib -lcuda -lpthread -lblossom /usr/bin/ld: fatal error: -O: invalid option value (expected an integer): --default-symver collect2: ld returned 1 exit status make: *** [.out/lib/libtorque.so.0.0.1] Error 1 -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.38.1 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages binutils-gold depends on: ii binutils 2.21.0.20110322-1 The GNU assembler, linker and bina binutils-gold recommends no packages. binutils-gold suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

