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

Bug 924232

Summary: cross-mips-unknown-linux-musl/gcc-13.2.1_p20240113-r1::crossdev _ABIN32 not declared in this scope (libsanitizer)
Product: Gentoo Linux Reporter: Jason Cooper <jason+gentoobugs>
Component: Current packagesAssignee: Cross compilation support <cross>
Status: UNCONFIRMED ---    
Severity: normal CC: jason+gentoobugs, toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info ...
emerge -pqv ...
environment
gcc-build-logs
build.log

Description Jason Cooper 2024-02-10 15:34:58 UTC
Created attachment 884682 [details]
emerge --info ...

This is an existing toolchain on my system that now fails to update during routine @world updates.

```
In file included from /var/tmp/portage/cross-mips-unknown-linux-musl/gcc-13.2.1_p20240113-r1/work/gcc-13-20240113/libsanitizer/sanitizer_common/sanitize
r_linux_libcdep.cpp:14:
/var/tmp/portage/cross-mips-unknown-linux-musl/gcc-13.2.1_p20240113-r1/work/gcc-13-20240113/libsanitizer/sanitizer_common/sanitizer_platform_limits_posi
x.h:103:44: error: ‘_ABIN32’ was not declared in this scope
  103 |         : FIRST_32_SECOND_64((_MIPS_SIM == _ABIN32) ? 176 : 160, 216);
      |                                            ^~~~~~~
/var/tmp/portage/cross-mips-unknown-linux-musl/gcc-13.2.1_p20240113-r1/work/gcc-13-20240113/libsanitizer/sanitizer_common/sanitizer_platform.h:152:37: n
ote: in definition of macro ‘FIRST_32_SECOND_64’
  152 | #  define FIRST_32_SECOND_64(a, b) (a)
      |                                     ^
make[4]: *** [Makefile:618: sanitizer_linux_libcdep.lo] Error 1
```
Comment 1 Jason Cooper 2024-02-10 15:35:32 UTC
Created attachment 884683 [details]
emerge -pqv ...
Comment 2 Jason Cooper 2024-02-10 15:36:01 UTC
Created attachment 884684 [details]
environment
Comment 3 Jason Cooper 2024-02-10 15:36:27 UTC
Created attachment 884685 [details]
gcc-build-logs
Comment 4 Jason Cooper 2024-02-10 15:39:17 UTC
Created attachment 884686 [details]
build.log