Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933371 - app-arch/tarlz-0.25 test fail
Summary: app-arch/tarlz-0.25 test fail
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Florian Schmaus
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-06-01 16:10 UTC by Arniii
Modified: 2024-06-03 13:18 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/app-arch/tarlz-0.25/temp/build.log (file_933371.txt,15.09 KB, text/plain)
2024-06-01 16:10 UTC, Arniii
Details
/var/tmp/portage/app-arch/tarlz-0.25/temp/environment (file_933371.txt,76.05 KB, text/plain)
2024-06-01 16:12 UTC, Arniii
Details

Note You need to log in before you can comment on or make changes to this bug.
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.