Summary: | dev-ada/libadalang-22.0.0 fails to compile (lto) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Linux ADA team <ada> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 618550 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() Created attachment 788834 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern: Command '['gprbuild', '-p', '-j16', '-P/var/tmp/portage/dev-ada/libadalang-22.0.0/work/libadalang-22.0.0/build/libadalang.gpr', '-vl', '-XBUILD_MODE=prod', '-XLIBRARY_TYPE=relocatable', '-XGPR_BUILD=relocatable', '-XXMLADA_BUILD=relocatable', '-XLIBADALANG_WARNINGS=true', '-cargs:C', '-O2', '-pipe', '-march=x86-64', '-frecord-gcc-switches', '-fno-diagnostics-color', '-fmessage-length=0', '-flto', '-Werror=odr', '-Werror=lto-type-mismatch', '-Werror=strict-aliasing', '-cargs:Ada', '-O2', '-pipe', '-march=x86-64', '-frecord-gcc-switches', '-fno-diagnostics-color', '-fmessage-length=0', '-flto', '-Werror=odr', '-Werror=lto-type-mismatch', '-Werror=strict-aliasing', '-largs:C', '-Wl,-O1', '-Wl,--as-needed', '-Wl,--defsym=__gentoo_check_ldflags__=0']' returned non-zero exit status 4. | Community 2020 (20200429-93) (x86_64-pc-linux-gnu) GCC error: | I'm not 100% sure that it is an lto fault. After if you dig into it, please remove the blocker bug if you think this has nothing to do with lto. Thanks Please retest by setting ADA_TARGET="gcc_12_2_0" in make.conf This will make use of gcc-12.2.0 that I hope is lto safe Bug related to gnat_2020 that is dropped |