Summary: | www-servers/gatling-0.15 : fails to build with -fno-common or gcc-10 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Patrick Lauer <patrick> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | sam, sping |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 705764 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 temp.tbz2 www-servers:gatling-0.15:20200126-072616.log |
Description
Toralf Förster
2020-01-26 08:29:43 UTC
Created attachment 604484 [details]
emerge-info.txt
Created attachment 604486 [details]
emerge-history.txt
Created attachment 604488 [details]
environment
Created attachment 604490 [details]
etc.portage.tbz2
Created attachment 604492 [details]
temp.tbz2
Created attachment 604494 [details]
www-servers:gatling-0.15:20200126-072616.log
If gcc -no-common is default with gcc 10, maybe we should have a chat with upstream how to best deal with that in a way they support. (In reply to Sebastian Pipping from comment #7) > If gcc -no-common is default with gcc 10, maybe we should have a chat with > upstream how to best deal with that in a way they support. Yes please. I e-mailed upstream about it just now. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c00abe05e686dff46288a9ae7c887d92b93c3cef commit c00abe05e686dff46288a9ae7c887d92b93c3cef Author: Sebastian Pipping <sping@gentoo.org> AuthorDate: 2020-11-26 15:10:25 +0000 Commit: Sebastian Pipping <sping@gentoo.org> CommitDate: 2020-11-26 15:13:14 +0000 www-servers/gatling: Fix compile for GCC 10 Closes: https://bugs.gentoo.org/706396 Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-3.0.0, Repoman-2.3.23 www-servers/gatling/files/gatling-0.15-gcc10.patch | 38 ++++++++++++++++++++++ www-servers/gatling/gatling-0.15.ebuild | 3 +- 2 files changed, 40 insertions(+), 1 deletion(-) This still fails to me, with both gcc-9 AND gcc-10. x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 gatling.o mime.o ftp.o http.o smb.o common.o connstat.o httpstream.o dirfd.o -o gatling -lowfat -lz `cat libsocket libiconv libcrypt` `cat md5lib` /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(io_fd.o):(.bss+0xb0): multiple definition of `first_deferred'; /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(io_close.o):(.data+0x0): first defined here collect2: error: ld returned 1 exit status make: *** [GNUmakefile:99: gatling] Error 1 make: *** Waiting for unfinished jobs.... /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(io_fd.o):(.bss+0xb0): multiple definition of `first_deferred'; /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libowfat.a(io_close.o):(.data+0x0): first defined here collect2: error: ld returned 1 exit status make: *** [GNUmakefile:87: tlsgatling] Error 1 * ERROR: www-servers/gatling-0.15::gentoo failed (compile phase): * emake failed Patch does get applied, * Applying gatling-0.13-compile.patch ... [ ok ] * Applying gatling-0.15-gcc10.patch ... [ ok ] *** This bug has been marked as a duplicate of bug 756847 *** |