Summary: | cross-{i686,x86_64}-w64-mingw32/gcc-10.3.0-r2: undefined reference to `__stack_chk_guard' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | James Beddek <telans> |
Component: | Current packages | Assignee: | Gentoo Crossdev team <crossdev> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | zorry |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=513706 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
cross-x86_64-w64-mingw32-info.log
cross-x86_64-w64-mingw32-gcc-stage2.log.xz gcc-config.logs.tar.xz |
Description
James Beddek
2021-12-01 00:32:40 UTC
Created attachment 757110 [details]
cross-x86_64-w64-mingw32-gcc-stage2.log.xz
Created attachment 757111 [details]
gcc-config.logs.tar.xz
Note: I'm using the default USE flags for the cross compiler installation through crossdev I see "-fstack-protector-strong -D_FORTIFY_SOURCE=2" in your CFLAGS. It would be troublesome if cross-x86_64-w64-mingw32_ucrt/mingw64-runtime were built with these flags. Ah that's a duh on my part as I use the Clang compiler on my system, and Clang doesn't have sane semi-hardening defaults. https://wiki.gentoo.org/wiki/Clang#Clang_environments Now crossdev works a treat after switching mingw64-runtime to use a gcc env. Thanks for helping me fix this :) |