Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 824114 - [seden] dev-tex/rtf2latex2e-2.2.3 fails to compile with -fno-common: ld: main.o:(.bss+0x38): multiple definition of `eqn_end_display; eqn.o:(.bss+0x0): first defined here
Summary: [seden] dev-tex/rtf2latex2e-2.2.3 fails to compile with -fno-common: ld: main...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sven Eden
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-17 07:50 UTC by Agostino Sarubbo
Modified: 2021-11-17 07:50 UTC (History)
0 users

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


Attachments
build.log (build.log,51.44 KB, text/plain)
2021-11-17 07:50 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-17 07:50:37 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-tex/rtf2latex2e-2.2.3 fails to compile with -fno-common.
Discovered on: amd64 (internal ref: seden_tinderbox)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
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-17 07:50:39 UTC
Created attachment 751758 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-11-17 07:50:40 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: src/main.o:(.bss+0x38): multiple definition of `eqn_end_display'; src/eqn.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/main.o:(.bss+0x40): multiple definition of `eqn_start_display'; src/eqn.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/main.o:(.bss+0x48): multiple definition of `eqn_end_inline'; src/eqn.o:(.bss+0x10): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/main.o:(.bss+0x50): multiple definition of `eqn_start_inline'; src/eqn.o:(.bss+0x18): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/writer.o:(.bss+0x2700): multiple definition of `eqn_end_display'; src/eqn.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/writer.o:(.bss+0x2708): multiple definition of `eqn_start_display'; src/eqn.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/writer.o:(.bss+0x2710): multiple definition of `eqn_end_inline'; src/eqn.o:(.bss+0x10): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/writer.o:(.bss+0x2718): multiple definition of `eqn_start_inline'; src/eqn.o:(.bss+0x18): first defined here
collect2: error: ld returned 1 exit status