Summary: | dev-lisp/roswell-20.05.14.106 fails to compile with -fno-common | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Danny <sheepduke> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | juippis, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 705764 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2021-03-20 12:47:49 UTC
CC'ing also the author of the commit Created attachment 692574 [details]
build.log
build log and emerge --info
Possible context of error(s): ./configure: line 2478: -O2: command not found ./configure: line 2479: -O2: command not found /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tsv_sbcl-main.o:(.bss+0x40): multiple definition of `argv_orig'; tsv_sbcl-tsv-sbcl-bin.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status I tried to reproduce this error on my machine. I ran the following command: CXXFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" \ CFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-common" \ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/roswell-20.05.14.106 --htmldir=/usr/share/doc/roswell-20.05.14.106/html --libdir=/usr/lib64 (Which is exactly what you have in the build logs with fno-common arg.) (And I have gcc version 10.2.0.) However the configure and make both succeeded. Plus there is no `-fno-common` in the build log... Could you please provide more clues about reproducing it? :) (In reply to Danny from comment #4) > I tried to reproduce this error on my machine. > > I ran the following command: > > CXXFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches" \ > CFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-common" \ > ./configure --prefix=/usr --build=x86_64-pc-linux-gnu > --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info > --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib > --disable-dependency-tracking --disable-silent-rules > --docdir=/usr/share/doc/roswell-20.05.14.106 > --htmldir=/usr/share/doc/roswell-20.05.14.106/html --libdir=/usr/lib64 > > (Which is exactly what you have in the build logs with fno-common arg.) > (And I have gcc version 10.2.0.) > > However the configure and make both succeeded. > > Plus there is no `-fno-common` in the build log... > > Could you please provide more clues about reproducing it? :) And is it related to this bug? https://bugs.gentoo.org/733152 They both have "-O2: command not found" error... Yeah, this works fine on gcc-10. The "no command found" is most likely due to -native-symlinks on toolchain. But it has its own bug already. (In reply to Joonas Niilola from comment #6) > Yeah, this works fine on gcc-10. The "no command found" is most likely due > to -native-symlinks on toolchain. But it has its own bug already. I see. Thanks for resolving it! :-) |