Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732904 - cross-arm-none-eabi/gcc-10.1.0-r2 USE=hardened - .../work/gcc-10.1.0/libstdc++-v3/libsupc++/array_type_info.cc:30:2: sorry, unimplemented: ‘-fstack-check=specific’ for Thumb-1
Summary: cross-arm-none-eabi/gcc-10.1.0-r2 USE=hardened - .../work/gcc-10.1.0/libstdc+...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Crossdev team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-16 13:21 UTC by Alexandre A. Bizri
Modified: 2020-11-29 22:41 UTC (History)
2 users (show)

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


Attachments
emerge --info '=cross-arm-none-eabi/gcc-10.1.0-r2::crossdev' (emerge_info,6.62 KB, text/plain)
2020-07-16 13:21 UTC, Alexandre A. Bizri
Details
emerge -pqv '=cross-arm-none-eabi/gcc-10.1.0-r2::crossdev' (emerge_pqv,264 bytes, text/plain)
2020-07-16 13:22 UTC, Alexandre A. Bizri
Details
build.log of '=cross-arm-none-eabi/gcc-10.1.0-r2::crossdev' (build.log.bz,89.86 KB, application/x-bzip)
2020-07-16 13:25 UTC, Alexandre A. Bizri
Details
gcc-build-logs.tar.bz2 of '=cross-arm-none-eabi/gcc-10.1.0-r2::crossdev' (gcc-build-logs.tar.bz2,236.14 KB, application/x-bzip-compressed-tar)
2020-07-16 13:52 UTC, Alexandre A. Bizri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre A. Bizri 2020-07-16 13:21:40 UTC
Created attachment 649484 [details]
emerge --info '=cross-arm-none-eabi/gcc-10.1.0-r2::crossdev'

Hello all,

When emerging '=cross-arm-none-eabi/gcc-10.1.0-r2::crossdev' with the 'hardened' USE flag set, I encountered a compile error of this kind:

```
sorry, unimplemented: '-fstack-check=specific' for Thumb-1
```

With `hardened` unset (disabled) the compilation works without any hicups.

Attached are
- The `emerge --info` output
- The `emerge -pqv` output
- The `build.log` file
- `gcc-build-logs.tar.bz2` as requested
Comment 1 Alexandre A. Bizri 2020-07-16 13:22:46 UTC
Created attachment 649486 [details]
emerge -pqv '=cross-arm-none-eabi/gcc-10.1.0-r2::crossdev'
Comment 2 Alexandre A. Bizri 2020-07-16 13:25:02 UTC
Created attachment 649490 [details]
build.log of '=cross-arm-none-eabi/gcc-10.1.0-r2::crossdev'
Comment 3 Alexandre A. Bizri 2020-07-16 13:52:09 UTC
Created attachment 649492 [details]
gcc-build-logs.tar.bz2 of '=cross-arm-none-eabi/gcc-10.1.0-r2::crossdev'
Comment 4 Alexandre A. Bizri 2020-07-16 13:57:09 UTC
Seems related to https://bugs.gentoo.org/687598
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2020-08-01 19:26:00 UTC
> USE:        abi_x86_64 amd64 cxx elibc_glibc graphite hardened kernel_linux lto multilib nls nptl pch sanitize ssp userland_GNU vtv

Do you know where does this USE=hardened come from? It enabled stack protection by default not compatible with this particular bare-metal target.