Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 933371

Summary: app-arch/tarlz-0.25 test fail
Product: Gentoo Linux Reporter: Arniii <lg3dx6fd>
Component: Current packagesAssignee: Florian Schmaus <flow>
Status: UNCONFIRMED ---    
Severity: normal CC: lg3dx6fd, mgorny, sam
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /var/tmp/portage/app-arch/tarlz-0.25/temp/build.log
/var/tmp/portage/app-arch/tarlz-0.25/temp/environment

Description Arniii 2024-06-01 16:10:19 UTC
Created attachment 894872 [details]
/var/tmp/portage/app-arch/tarlz-0.25/temp/build.log

test fail .
Comment 1 Arniii 2024-06-01 16:12:01 UTC
Created attachment 894873 [details]
/var/tmp/portage/app-arch/tarlz-0.25/temp/environment
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-03 00:24:10 UTC
Any chance that tweaking *FLAGS makes it stop?
Comment 3 Arniii 2024-06-03 13:12:00 UTC
iteration 1: it HAPPENS when O0 and lto


```
  MARCH_NATIVE_GCC="-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"

  LTO_WARNINGS_GCC="-Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
  LTO_FLAGS_GCC="-flto ${LTO_WARNINGS_GCC}"

  GCC_POLLY="-fgraphite-identity -floop-interchange -floop-strip-mine -floop-nest-optimize"

  DEBUG_FLAGS_GCC="-ggdb3"

  BECAUSE_PACKAGE_TESTING_WIKI_CF="-frecord-gcc-switches"
  BECAUSE_PACKAGE_TESTING_WIKI_LDF="-Wl,--defsym=__gentoo_check_ldflags__=0"

  COMMON_FLAGS="-O0 -pipe ${MARCH_NATIVE_GCC} ${GCC_POLLY} ${LTO_FLAGS_GCC} ${DEBUG_FLAGS_GCC} ${BECAUSE_PACKAGE_TESTING_WIKI_CF}"
  CFLAGS="${COMMON_FLAGS}"
  CXXFLAGS="${COMMON_FLAGS}"
  FCFLAGS="${COMMON_FLAGS}"
  FFLAGS="${COMMON_FLAGS}"

  LDFLAGS="${LDFLAGS} ${BECAUSE_PACKAGE_TESTING_WIKI_LDF}"

```
Comment 4 Arniii 2024-06-03 13:13:51 UTC
iteration 2: it HAPPENS when O0 and no LTO.

```
  MARCH_NATIVE_GCC="-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"

  LTO_WARNINGS_GCC="-Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing"
  LTO_FLAGS_GCC="-flto ${LTO_WARNINGS_GCC}"

  GCC_POLLY="-fgraphite-identity -floop-interchange -floop-strip-mine -floop-nest-optimize"

  DEBUG_FLAGS_GCC="-ggdb3"

  BECAUSE_PACKAGE_TESTING_WIKI_CF="-frecord-gcc-switches"
  BECAUSE_PACKAGE_TESTING_WIKI_LDF="-Wl,--defsym=__gentoo_check_ldflags__=0"

  COMMON_FLAGS="-O0 -pipe ${MARCH_NATIVE_GCC} ${GCC_POLLY} ${DEBUG_FLAGS_GCC} ${BECAUSE_PACKAGE_TESTING_WIKI_CF}"
  CFLAGS="${COMMON_FLAGS}"
  CXXFLAGS="${COMMON_FLAGS}"
  FCFLAGS="${COMMON_FLAGS}"
  FFLAGS="${COMMON_FLAGS}"

  LDFLAGS="${LDFLAGS} ${BECAUSE_PACKAGE_TESTING_WIKI_LDF}"

```
Comment 5 Arniii 2024-06-03 13:18:08 UTC
iteration 3: it HAPPENS when only next stuff: -O0 -pipe -ggdb3 -frecord-gcc-switches.