public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Deepak Barua" <dbbarua@gmail.com>
To: gcc-help@gcc.gnu.org
Cc: "Daniel Jacobowitz" <drow@false.org>
Subject: [help] undefined reference to `_Unwind_SjLj_Register'
Date: Mon, 24 Mar 2008 09:04:00 -0000	[thread overview]
Message-ID: <b5a19cd20803240203y1208a7a9yadaeccb2bfb3fe0c@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 614 bytes --]

Hi Daniel,
                I am trying to run crosstest for the new toolchain i
built but i am getting this linking error.
(Have attached file with errors )

Can you tell me what seems to be the problem ...?

I am compiling the toolchain with NPTL and TLS support for the ARM
architecture gcc-4.2.2 and glibc-2.7

Should i enable sjlj exceptions while compiling gcc-4.2.2 ...?
But as i understand from your post
http://sourceware.org/ml/libc-ports/2005-11/msg00030.html

enabling sjlj exception handling is a obsolete method of exception
handling .... so what can i do ....?


Regards
Deepak



-- 
Hack Hack Hack

[-- Attachment #2: crosstesterror1 --]
[-- Type: application/octet-stream, Size: 9127 bytes --]

+ find . -name '*.sum'
+ xargs rm -f
+ find . -name '*.log'
+ xargs rm -f
+ true
+ cd build-glibc
+ make tests
make -r PARALLELMFLAGS="" CVSOPTS="" -C /opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/glibc-2.7 objdir=`pwd` tests
make[1]: Entering directory `/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/glibc-2.7'
make  subdir=csu -C csu ..=../ tests
make[2]: Entering directory `/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/glibc-2.7/csu'
make[2]: Leaving directory `/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/glibc-2.7/csu'
make[2]: Entering directory `/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/glibc-2.7/csu'
arm-unknown-linux-gnu-gcc  -nostdlib -nostartfiles -static -o /opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/csu/tst-empty    /opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/csu/crt1.o /opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/csu/crti.o `arm-unknown-linux-gnu-gcc  --print-file-name=crtbegin.o` /opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/csu/tst-empty.o  /opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a -lgcc  /opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a `arm-unknown-linux-gnu-gcc  --print-file-name=crtend.o` /opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/csu/crtn.o
/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a(syslog.o): In function `__vsyslog_chk':
syslog.c:(.text+0x270): undefined reference to `_Unwind_SjLj_Register'
syslog.c:(.text+0x630): undefined reference to `_Unwind_SjLj_Resume'
syslog.c:(.text+0x7fc): undefined reference to `_Unwind_SjLj_Resume'
syslog.c:(.text+0x830): undefined reference to `_Unwind_SjLj_Unregister'
syslog.c:(.text+0x840): undefined reference to `__gcc_personality_sj0'
/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a(syslog.o): In function `openlog':
syslog.c:(.text+0x95c): undefined reference to `_Unwind_SjLj_Register'
syslog.c:(.text+0x9dc): undefined reference to `_Unwind_SjLj_Resume'
syslog.c:(.text+0x9ec): undefined reference to `_Unwind_SjLj_Unregister'
syslog.c:(.text+0x9fc): undefined reference to `__gcc_personality_sj0'
/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a(syslog.o): In function `closelog':
syslog.c:(.text+0xa48): undefined reference to `_Unwind_SjLj_Register'
syslog.c:(.text+0xabc): undefined reference to `_Unwind_SjLj_Resume'
syslog.c:(.text+0xae0): undefined reference to `_Unwind_SjLj_Unregister'
syslog.c:(.text+0xaf0): undefined reference to `__gcc_personality_sj0'
/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a(vfprintf_chk.o): In function `__vfprintf_chk':
vfprintf_chk.c:(.text+0x4c): undefined reference to `_Unwind_SjLj_Register'
vfprintf_chk.c:(.text+0x1bc): undefined reference to `_Unwind_SjLj_Resume'
vfprintf_chk.c:(.text+0x234): undefined reference to `_Unwind_SjLj_Unregister'
vfprintf_chk.c:(.text+0x248): undefined reference to `__gcc_personality_sj0'
/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a(iofclose.o): In function `fclose':
iofclose.c:(.text+0x40): undefined reference to `_Unwind_SjLj_Register'
iofclose.c:(.text+0x198): undefined reference to `_Unwind_SjLj_Resume'
iofclose.c:(.text+0x320): undefined reference to `_Unwind_SjLj_Unregister'
iofclose.c:(.text+0x334): undefined reference to `__gcc_personality_sj0'
/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a(iofflush.o): In function `fflush':
iofflush.c:(.text+0x40): undefined reference to `_Unwind_SjLj_Register'
iofflush.c:(.text+0x1fc): undefined reference to `_Unwind_SjLj_Resume'
iofflush.c:(.text+0x204): undefined reference to `_Unwind_SjLj_Unregister'
iofflush.c:(.text+0x218): undefined reference to `__gcc_personality_sj0'
/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a(ioftell.o): In function `ftell':
ioftell.c:(.text+0x40): undefined reference to `_Unwind_SjLj_Register'
ioftell.c:(.text+0x1cc): undefined reference to `_Unwind_SjLj_Resume'
ioftell.c:(.text+0x2b8): undefined reference to `_Unwind_SjLj_Unregister'
ioftell.c:(.text+0x2cc): undefined reference to `__gcc_personality_sj0'
/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a(iofwrite.o): In function `fwrite':
iofwrite.c:(.text+0x4c): undefined reference to `_Unwind_SjLj_Register'
iofwrite.c:(.text+0x1c4): undefined reference to `_Unwind_SjLj_Resume'
iofwrite.c:(.text+0x248): undefined reference to `_Unwind_SjLj_Unregister'
iofwrite.c:(.text+0x25c): undefined reference to `__gcc_personality_sj0'
/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a(ioseekoff.o): In function `_IO_seekoff':
ioseekoff.c:(.text+0x14c): undefined reference to `_Unwind_SjLj_Register'
ioseekoff.c:(.text+0x2e8): undefined reference to `_Unwind_SjLj_Resume'
ioseekoff.c:(.text+0x2f0): undefined reference to `_Unwind_SjLj_Unregister'
ioseekoff.c:(.text+0x308): undefined reference to `__gcc_personality_sj0'
/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a(wfileops.o): In function `_IO_wfile_underflow':
wfileops.c:(.text+0xed4): undefined reference to `_Unwind_SjLj_Register'
wfileops.c:(.text+0x1260): undefined reference to `_Unwind_SjLj_Resume'
wfileops.c:(.text+0x1520): undefined reference to `_Unwind_SjLj_Unregister'
wfileops.c:(.text+0x1534): undefined reference to `__gcc_personality_sj0'
/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a(fileops.o): In function `_IO_file_fopen':
fileops.c:(.text+0x1b40): undefined reference to `_Unwind_SjLj_Register'
fileops.c:(.text+0x1fc4): undefined reference to `_Unwind_SjLj_Resume'
fileops.c:(.text+0x1fcc): undefined reference to `_Unwind_SjLj_Unregister'
fileops.c:(.text+0x1fe0): undefined reference to `__gcc_personality_sj0'
/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a(fileops.o): In function `_IO_file_underflow':
fileops.c:(.text+0x2054): undefined reference to `_Unwind_SjLj_Register'
fileops.c:(.text+0x223c): undefined reference to `_Unwind_SjLj_Resume'
fileops.c:(.text+0x238c): undefined reference to `_Unwind_SjLj_Unregister'
fileops.c:(.text+0x23a0): undefined reference to `__gcc_personality_sj0'
/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a(iogetdelim.o): In function `getdelim':
iogetdelim.c:(.text+0x4c): undefined reference to `_Unwind_SjLj_Register'
iogetdelim.c:(.text+0x368): undefined reference to `_Unwind_SjLj_Resume'
iogetdelim.c:(.text+0x3d8): undefined reference to `_Unwind_SjLj_Unregister'
iogetdelim.c:(.text+0x3ec): undefined reference to `__gcc_personality_sj0'
/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a(fseek.o): In function `fseek':
fseek.c:(.text+0x48): undefined reference to `_Unwind_SjLj_Register'
fseek.c:(.text+0x1fc): undefined reference to `_Unwind_SjLj_Resume'
fseek.c:(.text+0x204): undefined reference to `_Unwind_SjLj_Unregister'
fseek.c:(.text+0x218): undefined reference to `__gcc_personality_sj0'
/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/libc.a(ftello.o): In function `ftello':
ftello.c:(.text+0x40): undefined reference to `_Unwind_SjLj_Register'
ftello.c:(.text+0x1cc): undefined reference to `_Unwind_SjLj_Resume'
ftello.c:(.text+0x2b8): undefined reference to `_Unwind_SjLj_Unregister'
ftello.c:(.text+0x2cc): undefined reference to `__gcc_personality_sj0'
collect2: ld returned 1 exit status
make[2]: *** [/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/build-glibc/csu/tst-empty] Error 1
make[2]: Leaving directory `/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/glibc-2.7/csu'
make[1]: *** [csu/tests] Error 2
make[1]: Leaving directory `/opt/amos-ext/crosstool/crosstool-0.44-dbtest/build/arm-unknown-linux-gnu/gcc-4.2.2-glibc-2.7/glibc-2.7'
make: *** [tests] Error 2
amos@REDQUEEN:/opt/amos-ext/crosstool/crosstool-0.44-dbtest$  

             reply	other threads:[~2008-03-24  9:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-24  9:04 Deepak Barua [this message]
2008-03-24 12:07 ` Andrew Haley
2008-03-24 20:59   ` Deepak Barua
2008-03-26 14:35     ` Deepak Barua
2008-03-26 14:39       ` Andrew Haley
2008-03-26 15:48         ` Deepak Barua

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b5a19cd20803240203y1208a7a9yadaeccb2bfb3fe0c@mail.gmail.com \
    --to=dbbarua@gmail.com \
    --cc=drow@false.org \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).