Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706288 - net-misc/dhcp: compilation fails with -fno-common or gcc-10
Summary: net-misc/dhcp: compilation fails with -fno-common or gcc-10
Status: RESOLVED DUPLICATE of bug 710194
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://gitlab.isc.org/isc-projects/d...
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-25 09:50 UTC by Hanno Böck
Modified: 2020-04-21 09:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2020-01-25 09:50:40 UTC
Error:

gcc  -fno-common  -I../includes -I/tmp/dhcp-4.4.2/bind/include   -o dhclient client_tables.o clparse.o dhclient.o dhc6.o ../common/libdhcp.a ../omapip/libomapi.a /tmp/dhcp-4.4.2/bind/bind-9.11.14/lib/irs/libirs.a /tmp/dhcp-4.4.2/bind/bind-9.11.14/lib/dns/libdns.a /tmp/dhcp-4.4.2/bind/bind-9.11.14/lib/isccfg/libisccfg.a /tmp/dhcp-4.4.2/bind/bind-9.11.14/lib/isc/libisc.a 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../common/libdhcp.a(discover.o):(.bss+0x20): multiple definition of `local_port'; dhclient.o:(.bss+0x74): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../common/libdhcp.a(discover.o):(.bss+0x22): multiple definition of `remote_port'; dhclient.o:(.bss+0x76): first defined here


Also reported upstream:
https://gitlab.isc.org/isc-projects/dhcp/issues/84
Comment 1 David Seifert gentoo-dev 2020-04-21 09:14:49 UTC

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