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

Bug 706640

Summary: net-wireless/iwd-1.4-r1: -fno-common: ld: client/dbus-proxy.o:(.bss+0x0): multiple definition of `properties_yes_no_opts'
Product: Gentoo Linux Reporter: Brian Evans (RETIRED) <grknight>
Component: Current packagesAssignee: Ben Kohler <bkohler>
Status: RESOLVED FIXED    
Severity: normal CC: bkohler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: build.log

Description Brian Evans (RETIRED) gentoo-dev 2020-01-27 12:43:44 UTC
Created attachment 605170 [details]
build.log

Does not build with -fno-common

libtool: link: x86_64-pc-linux-gnu-gcc -fvisibility=hidden -DUNITDIR=\"./unit/\" -DCERTDIR=\"./unit/\" -O2 -march=native -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -mno-3dnow -fno-common -fsigned-char -Wl,-O1 -Wl,--as-needed -o client/iwctl client/main.o client/adapter.o client/agent.o client/agent-manager.o client/ad-hoc.o client/ap.o client/command.o client/dbus-proxy.o client/device.o client/display.o client/known-networks.o client/network.o client/properties.o client/wsc.o client/station.o  -lell -ldl -lreadline
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: client/dbus-proxy.o:(.bss+0x0): multiple definition of `properties_yes_no_opts'; client/adapter.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: client/dbus-proxy.o:(.bss+0x20): multiple definition of `properties_on_off_opts'; client/adapter.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: client/device.o:(.bss+0x20): multiple definition of `properties_on_off_opts'; client/adapter.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: client/device.o:(.bss+0x0): multiple definition of `properties_yes_no_opts'; client/adapter.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: client/known-networks.o:(.bss+0x0): multiple definition of `properties_yes_no_opts'; client/adapter.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: client/known-networks.o:(.bss+0x20): multiple definition of `properties_on_off_opts'; client/adapter.o:(.bss+0x20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: client/properties.o:(.data.rel.local+0x0): multiple definition of `properties_yes_no_opts'; client/adapter.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: client/properties.o:(.data.rel.local+0x20): multiple definition of `properties_on_off_opts'; client/adapter.o:(.bss+0x20): first defined here
Comment 1 Ben Kohler gentoo-dev 2020-01-27 16:42:36 UTC
Fix has hit upstream: https://git.kernel.org/pub/scm/network/wireless/iwd.git/commit/?id=f2af2d004d82dee391fc0fc5b6a634352708ab78

Probably won't bother to backport this since new releases are coming pretty regularly.
Comment 2 Ben Kohler gentoo-dev 2020-02-15 14:21:52 UTC
Fixed in 1.5