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

Bug 900713

Summary: sys-devel/crossdev: arm-none-eabi builds stage3, not stage4 (no C++ compiler)
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Gentoo Crossdev team <crossdev>
Status: CONFIRMED ---    
Severity: normal CC: embedded, toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-10 12:05:26 UTC
In crossdev, we have:
```
[...]
                # Bare metal targets
                *-newlib|*-elf|*-eabi|*-rtems*)
                        LPKG="newlib"
                        KPKG="[none]"
                        STAGE_DEFAULT=${STAGE_LIBC}
[...]
                        ;;     
```

which means we only build a C compiler (-s3) with 'crossdev arm-none-eabi'. This ended up confusing a user in #gentoo.

I'd say it's probably common for users to not want a freestanding C++ compiler, but I'm not sure if we should warn on it or what.