Summary: | dev-build/autoconf-2.71-r6 fails test "504: AC_DECL_YYTEXT" with LTO | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paolo Pedroni <paolo.pedroni> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | lg3dx6fd, paolo.pedroni |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 926120 | ||
Bug Blocks: | 618550 | ||
Attachments: |
autoconf-2.71-r6:20240209-184640.log.gz
testsuite.log |
Description
Paolo Pedroni
2024-02-09 18:57:28 UTC
Created attachment 884639 [details]
testsuite.log
Removing LTO make it test fine, of course. I could reproduce it.
```
> configure:2877: checking for library containing yywrap
> configure:2906: g++ -o conftest -O3 -pipe -march=alderlake -mabm -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=30720 -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fgraphite-identity -floop-interchange -floop-strip-mine -floop-nest-optimize -ggdb3 -frecord-gcc-switches -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 conftest.cpp >&5
> /usr/libexec/gcc/x86_64-pc-linux-gnu/ld: /var/tmp/portage/dev-build/autoconf-2.71-r7/temp/ccOfeZMy.ltrans0.ltrans.o: in function `main':
> /var/tmp/portage/dev-build/autoconf-2.71-r7/work/autoconf-2.71/tests/testsuite.dir/504/<artificial>:16:(.text.startup+0x1): undefined reference to `yywrap'
> collect2: error: ld returned 1 exit status
> configure:2906: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE_URL ""
> | /* end confdefs.h. */
> |
> | namespace conftest {
> | extern "C" int yywrap ();
> | }
> | int
> | main (void)
> | {
> | return conftest::yywrap ();
> | ;
> | return 0;
> | }
```
|