Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905899 - sys-devel/gcc-13.1.0-r1 fails to compile (MUSL-SYSTEM): sanitizer_platform_limits_posix.cpp:187:31: error: invalid application of sizeof to incomplete type __sanitizer::stat64
Summary: sys-devel/gcc-13.1.0-r1 fails to compile (MUSL-SYSTEM): sanitizer_platform_li...
Status: RESOLVED DUPLICATE of bug 900871
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-05-07 19:58 UTC by Agostino Sarubbo
Modified: 2023-05-08 04:40 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,143.17 KB, application/x-xz)
2023-05-07 19:58 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-05-07 19:58:27 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-devel/gcc-13.1.0-r1 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-07 19:58:32 UTC
Created attachment 861279 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2023-05-07 19:58:33 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


      echo The directory that should contain system headers does not exist: >&2 ; \
      echo The directory that should contain system headers does not exist: >&2 ; \n
*** This configuration is not supported in the following subdirectories:
mv: cannot stat 'stage2-fixincludes': No such file or directory
mv: cannot stat 'stage2-gcc': No such file or directory
mv: cannot stat 'stage2-intl': No such file or directory
mv: cannot stat 'stage2-libbacktrace': No such file or directory
mv: cannot stat 'stage2-libcody': No such file or directory
mv: cannot stat 'stage2-libcpp': No such file or directory
mv: cannot stat 'stage2-libdecnumber': No such file or directory
mv: cannot stat 'stage2-libiberty': No such file or directory
mv: cannot stat 'stage2-lto-plugin': No such file or directory
mv: cannot stat 'stage2-x86_64-gentoo-linux-musl': No such file or directory
/var/tmp/portage/sys-devel/gcc-13.1.0-r1/work/gcc-13.1.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:187:31: error: invalid application of 'sizeof' to incomplete type '__sanitizer::stat64'
Comment 3 Agostino Sarubbo gentoo-dev 2023-05-07 21:29:25 UTC
gcc-12 is also affected but btw it works with USE=-sanitize
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-08 04:40:03 UTC

*** This bug has been marked as a duplicate of bug 900871 ***