[Bug bootstrap/12026] New: m68k-coff build fails due to undefined references to _EH_FRAME_BEGIN

dhazeghi at yahoo dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 21 22:43:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12026

           Summary: m68k-coff build fails due to undefined references to
                    _EH_FRAME_BEGIN
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dhazeghi at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: m68k-coff

Configuring with: ../combined/configure --target=m68k-coff --enable-languages=c,c++,objc 
with a combined tree on mainline fails to build with:

checking for m68k-coff-gcc... (cached)  /tmp/mainline/objdir/gcc/xgcc -B/tmp/mainline/objdir/
gcc/ -nostdinc -B/tmp/mainline/objdir/m68k-coff/newlib/ -isystem /tmp/mainline/objdir/
m68k-coff/newlib/targ-include -isystem /tmp/mainline/combined/newlib/libc/include -B/usr/
local/m68k-coff/bin/ -B/usr/local/m68k-coff/lib/ -isystem /usr/local/m68k-coff/include -
isystem /usr/local/m68k-coff/sys-include -L/tmp/mainline/objdir/ld
checking for C compiler default output... configure: error: C compiler cannot create executables

>From config.log:
configure:2352:  /tmp/mainline/objdir/gcc/xgcc -B/tmp/mainline/objdir/gcc/ -nostdinc -B/tmp/
mainline/objdir/m68k-coff/newlib/ -isystem /tmp/mainline/objdir/m68k-coff/newlib/targ-
include -isystem /tmp/mainline/combined/newlib/libc/include -B/usr/local/m68k-coff/bin/ -B/
usr/local/m68k-coff/lib/ -isystem /usr/local/m68k-coff/include -isystem /usr/local/m68k-coff/
sys-include -L/tmp/mainline/objdir/ld -O2 -g -O2 -O2 -g -O2  conftest.c  >&5
/tmp/mainline/objdir/gcc/libgcc.a(__main.o)(.text+0x38): In function `__do_global_dtors':
/tmp/mainline/objdir/gcc/../../combined/gcc/libgcc2.c:1660: undefined reference to 
`__EH_FRAME_BEGIN__'
/tmp/mainline/objdir/gcc/libgcc.a(__main.o)(.text+0x56): In function `__do_global_ctors':
/tmp/mainline/objdir/gcc/../../combined/gcc/libgcc2.c:1676: undefined reference to 
`__EH_FRAME_BEGIN__'
...



More information about the Gcc-bugs mailing list