Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 824462 - [haarp] net-vpn/dns2tcp-0.5.2 fails to compile with -fno-common: ld: auth.o:(.bss+0x0): multiple definition of `debug; rr.o:(.bss+0x0): first defined here
Summary: [haarp] net-vpn/dns2tcp-0.5.2 fails to compile with -fno-common: ld: auth.o:(...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: haarp
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-18 07:09 UTC by Agostino Sarubbo
Modified: 2021-11-18 07:09 UTC (History)
0 users

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


Attachments
build.log (build.log,47.48 KB, text/plain)
2021-11-18 07:09 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-11-18 07:09:23 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-vpn/dns2tcp-0.5.2 fails to compile with -fno-common.
Discovered on: amd64 (internal ref: haarp_tinderbox)

NOTE:
To reproduce this issue you may want to set CFLAGS="${CFLAGS} -fno-common" or compile it with gcc-10 that enables -fno-common by default.
Comment 1 Agostino Sarubbo gentoo-dev 2021-11-18 07:09:25 UTC
Created attachment 752306 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-11-18 07:09:26 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: auth.o:(.bss+0x0): multiple definition of `debug'; rr.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: config.o:(.bss+0x0): multiple definition of `debug'; rr.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dns.o:(.bss+0x0): multiple definition of `debug'; rr.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dns_decode.o:(.bss+0x0): multiple definition of `debug'; rr.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0x0): multiple definition of `debug'; rr.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: options.o:(.bss+0x0): multiple definition of `debug'; rr.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: queue.o:(.bss+0x0): multiple definition of `debug'; rr.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: requests.o:(.bss+0x0): multiple definition of `debug'; rr.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: server.o:(.bss+0x0): multiple definition of `debug'; rr.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: socket.o:(.bss+0x0): multiple definition of `debug'; rr.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status