This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/3641: can not bootstrap on i386-linux and others without glibc - MD_FALLBACK_FRAME_STATE_FOR
- To: gcc-gnats at gcc dot gnu dot org
- Subject: bootstrap/3641: can not bootstrap on i386-linux and others without glibc - MD_FALLBACK_FRAME_STATE_FOR
- From: dan at debian dot org
- Date: 10 Jul 2001 23:46:34 -0000
- Reply-To: dan at debian dot org
>Number: 3641
>Category: bootstrap
>Synopsis: can not bootstrap on i386-linux and others without glibc - MD_FALLBACK_FRAME_STATE_FOR
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 10 16:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: dan@debian.org
>Release: gcc-3.0
>Organization:
>Environment:
>Description:
MD_FALLBACK_FRAME_STATE_FOR wants to be able to unwind
the stack through signal frames, so it uses <signal.h> and <sys/ucontext.h>
to find the sigcontext's members. If you do not have a libc for your target, libgcc can not be compiled, because those headers are not found.
It's easy to work around this by adding #ifndef inhibit_libc, but the compiled
copies are included in a glibc built with that compiler (currently), and
so stick around. I should not have to rebuild glibc a second time just to get
this correct. Would hardcoding the necessary offsets or structures be an
acceptable alternative to including the header files? If so, I can make a patch.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: