Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706640 - net-wireless/iwd-1.4-r1: -fno-common: ld: client/dbus-proxy.o:(.bss+0x0): multiple definition of `properties_yes_no_opts'
Summary: net-wireless/iwd-1.4-r1: -fno-common: ld: client/dbus-proxy.o:(.bss+0x0): mul...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-27 12:43 UTC by Brian Evans (RETIRED)
Modified: 2020-02-15 14:21 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,31.84 KB, text/plain)
2020-01-27 12:43 UTC, Brian Evans (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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