This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/48825] libiberty "psignal" lacks const modifier, failing to compile when HAVE_PSIGNAL is undefined
- From: "wkor97gy0eef1fr at i dot mintemail.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 29 Apr 2011 16:54:34 +0000
- Subject: [Bug c/48825] libiberty "psignal" lacks const modifier, failing to compile when HAVE_PSIGNAL is undefined
- Auto-submitted: auto-generated
- References: <bug-48825-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48825
--- Comment #2 from Josef Mutzenbacher <wkor97gy0eef1fr at i dot mintemail.com> 2011-04-29 16:51:06 UTC ---
(In reply to comment #1)
> HAVE_PSIGNAL is supposed to be defined if the header file has psignal. Why
> does that not happen? Look at config.log.
i was building with musl libc, but not in a chroot.
the first stage uses a wrapper script as CC, which sets the right include
paths.
i was using --disable-bootstrap to disable bootstrapping, but make still
invoked the compiled xgcc (thus, it looks as it had been entering the bootstrap
phase, but without the correct include paths).