Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693576 - sys-devel/gcc-7.3.0-r3 - .../work/gcc-7.3.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:157:10: fatal error: sys/ustat.h: No such file or directory
Summary: sys-devel/gcc-7.3.0-r3 - .../work/gcc-7.3.0/libsanitizer/sanitizer_common/san...
Status: RESOLVED FIXED
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:
 
Reported: 2019-09-05 18:38 UTC by Cyp
Modified: 2019-10-23 19:17 UTC (History)
1 user (show)

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


Attachments
/var/tmp/portage/sys-devel/gcc-7.3.0-r3/work/gcc-build-logs.tar.xz (gcc-build-logs.tar.xz,313.62 KB, application/x-xz)
2019-09-05 18:38 UTC, Cyp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cyp 2019-09-05 18:38:05 UTC
Created attachment 589142 [details]
/var/tmp/portage/sys-devel/gcc-7.3.0-r3/work/gcc-build-logs.tar.xz

Can't really find an actual error message apart from make's error message.

Trying to reemerge all gcc versions as per 2019-06-05-amd64-17-1-profiles-are-now-stable. 8.3.0-r1 and 8.2.0-r6 worked.


config.status: executing default-1 commands
Adding multilib support to Makefile in /var/tmp/portage/sys-devel/gcc-7.3.0-r3/work/gcc-7.3.0/libgo
with_multisubdir=32
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-7.3.0-r3/work/build'
make: *** [Makefile:23891: bootstrap-lean] Error 2
 * ERROR: sys-devel/gcc-7.3.0-r3::gentoo failed (compile phase):
 *   emake failed
Comment 1 Cyp 2019-09-05 19:48:52 UTC
Same happening with 6.4.0.

config.status: executing default-1 commands
Adding multilib support to Makefile in /var/tmp/portage/sys-devel/gcc-6.4.0-r1/work/gcc-6.4.0/libgo
with_multisubdir=32
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands
make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-6.4.0-r1/work/build'
make: *** [Makefile:22272: bootstrap-lean] Error 2
 * ERROR: sys-devel/gcc-6.4.0-r1::gentoo failed (compile phase):
 *   emake failed
Comment 2 Alexander Tsoy 2019-09-05 23:19:26 UTC
(In reply to Cyp from comment #0)
> Created attachment 589142 [details]
> /var/tmp/portage/sys-devel/gcc-7.3.0-r3/work/gcc-build-logs.tar.xz
> 
> Can't really find an actual error message apart from make's error message.
/var/tmp/portage/sys-devel/gcc-7.3.0-r3/work/gcc-7.3.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:157:10: fatal error: sys/ustat.h: No such file or directory
 #include <sys/ustat.h>
          ^~~~~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:523: sanitizer_platform_limits_posix.lo] Error 1
make[4]: *** Waiting for unfinished jobs....


This is >=glibc-2.28 compatibility issue. Please try gcc-7.3.0-r6 or 7.4.0
Comment 3 Cyp 2019-09-06 09:26:30 UTC
Thanks, trying unstable 7.4.0-r2 and 6.5.0-r1 instead of stable 7.3.0-r3 and 6.4.0-r1 worked.

Same error with 5.5.0 (latest gcc-5), though.

Don't know yet for 4.9.4-r1 and 4.5.4-r2…
Comment 4 Cyp 2019-09-07 18:40:37 UTC
4.9.4-r1 and 4.5.4-r2 worked, so it's just 5.5.0 left for me.
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2019-10-23 19:17:08 UTC
gcc from 7.4 branch is stable.