Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 715118

Summary: >=net-dns/bind-9.16.0: libtool does not handle LDFLAGS correctly: libtool: error: unsupported warning category: 'l,-O1'
Product: Gentoo Linux Reporter: Robin Johnson <robbat2>
Component: Current packagesAssignee: Christian Ruppert (idl0r) <idl0r>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jstein, zlogene
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: net-dns:bind-9.16.1:20200328-050000.log
emerge --info -v

Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-03-28 05:13:20 UTC
Created attachment 626482 [details]
net-dns:bind-9.16.1:20200328-050000.log

Started with 9.16.0; confirmed that 9.14.9 compiles fine with the system exactly as it is now, so it's not some breakage introduced by a change in libtool/binutils/gcc.

Snippet of failure:
/bin/sh /var/tmp/portage-tmpfs/portage/net-dns/bind-9.16.1/work/bind-9.16.1/libtool --mode=link  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/lib64 -ldl  -Wl,-z,interpose  -o libwrap.so wrap.lo -luv -lrt -lpthread -lnsl -ldl  -lcmocka
libtool: compile:  x86_64-pc-linux-gnu-gcc -include /var/tmp/portage-tmpfs/portage/net-dns/bind-9.16.1/work/bind-9.16.1/config.h -I/var/tmp/portage-tmpfs/portage/net-dns/bind-9.16.1/work/bind-9.16.1 -I../../.. -I. -Iinclude -I/var/tmp/portage-tmpfs/portage/net-dns/bind-9.16.1/work/bind-9.16.1/lib/ns/include -I../../../lib/ns/include -I/var/tmp/portage-tmpfs/portage/net-dns/bind-9.16.1/work/bind-9.16.1/lib/dns/include -I../../../lib/dns/include -I/var/tmp/portage-tmpfs/portage/net-dns/bind-9.16.1/work/bind-9.16.1/lib/isc/include -I../../../lib/isc -I../../../lib/isc/include -I../../../lib/isc/unix/include -I../../../lib/isc/pthreads/include -DTESTS=\"/var/tmp/portage-tmpfs/portage/net-dns/bind-9.16.1/work/bind-9.16.1/lib/ns/tests/\" -DNAMED_PLUGINDIR=\"/usr/lib64/named\" -march=native -O2 -pipe -pthread -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -Wno-missing-field-initializers -fno-strict-aliasing -c listenlist_test.c -o listenlist_test.o >/dev/null 2>&1
libtool:   error: unsupported warning category: 'l,-O1'
make[3]: *** [Makefile:482: libwrap.so] Error 1
make[3]: Leaving directory '/var/tmp/portage-tmpfs/portage/net-dns/bind-9.16.1/work/bind-9.16.1/lib/ns/tests'
make[2]: *** [Makefile:186: testdirs] Error 1
make[2]: Leaving directory '/var/tmp/portage-tmpfs/portage/net-dns/bind-9.16.1/work/bind-9.16.1/lib/ns'
make[1]: *** [Makefile:84: subdirs] Error 1
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-03-28 05:13:44 UTC
Created attachment 626484 [details]
emerge --info -v
Comment 2 Ole Langbehn 2020-03-29 10:46:02 UTC
duplicate of #710840
Comment 3 Ole Langbehn 2020-03-29 10:46:41 UTC
(In reply to Ole Langbehn from comment #2)
> duplicate of #710840

bug 710840
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-05-05 06:07:47 UTC

*** This bug has been marked as a duplicate of bug 710840 ***