Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933416 - dev-debug/valgrind-3.22.0-r2 compiling test fail with lto -Werror=strict-aliasing
Summary: dev-debug/valgrind-3.22.0-r2 compiling test fail with lto -Werror=strict-alia...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-02 10:41 UTC by Arniii
Modified: 2024-06-02 19:06 UTC (History)
1 user (show)

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


Attachments
build.log.lz // to read : ` lzip -dc ./build.log.lz | less ` (build.log.lz,27.74 KB, application/x-lzip)
2024-06-02 10:44 UTC, Arniii
Details
environment // profile default/linux/amd64/17.1/desktop/plasma gcc O3 pipe march=native(verbose) lto graphite ggdb3 (file_933416.txt,109.37 KB, text/plain)
2024-06-02 10:45 UTC, Arniii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arniii 2024-06-02 10:41:07 UTC
from build log:
```
x86_64-pc-linux-gnu-gcc -Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector   -m32 -mmmx -msse -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 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fgraphite-identity -floop-interchange -floop-strip-mine -floop-nest-optimize -ggdb3 -frecord-gcc-switches -fno-stack-protector  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z,notext -o fprem fprem.o
more_x86_fp.c: In function ‘test_fcvt’:
more_x86_fp.c:98:28: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
   98 |     printf("a=%016llx\n", *(long long *)&a);
      |                            ^~~~~~~~~~~~~~~
more_x86_fp.c:99:34: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
   99 |     printf("la=%016llx %04x\n", *(long long *)&la,
      |                ^~
```
Comment 1 Arniii 2024-06-02 10:44:43 UTC
Created attachment 894943 [details]
build.log.lz // to read : ` lzip -dc ./build.log.lz | less `
Comment 2 Arniii 2024-06-02 10:45:46 UTC
Created attachment 894944 [details]
environment // profile default/linux/amd64/17.1/desktop/plasma gcc O3 pipe march=native(verbose) lto graphite ggdb3