public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "michaud.bernard@ic.gc.ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/10802] Bootstrap of gcc-3.3 on Solaris 9 x86 fails on undefined symbol in libgcj.so
Date: Mon, 26 May 2003 18:10:00 -0000	[thread overview]
Message-ID: <20030526180442.2458.qmail@sources.redhat.com> (raw)
In-Reply-To: <20030515132600.10802.michaud.bernard@ic.gc.ca>

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

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



------- Additional Comments From michaud.bernard@ic.gc.ca  2003-05-26 18:04 -------
Subject: RE: [Bug bootstrap/10802] Bootstrap of gcc-3.3 on Solaris 9 x86 f
	ails on undefined symbol in libgcj.so

The libgcc_s.so.1 from gcc-3.2.3 does not contain the
_Unwind_FindEnclosingFunction symbol, as follows:

$ elfdump -s /opt/gcc-3.2.3/lib/libgcc_s.so.1|fgrep "Unwind"
       [6]  0x00004550 0x0000001b  FUNC GLOB  D    2 .text
_Unwind_DeleteException
      [14]  0x00002ec0 0x0000000b  FUNC GLOB  D    2 .text
_Unwind_GetTextRelBase
      [17]  0x000045b0 0x0000000e  FUNC GLOB  D    2 .text
_Unwind_SetIP
      [18]  0x00002eb0 0x0000000b  FUNC GLOB  D    2 .text
_Unwind_GetDataRelBase
      [26]  0x00005770 0x0000017c  FUNC GLOB  D    2 .text
_Unwind_Find_FDE
      [30]  0x00004570 0x00000010  FUNC GLOB  D    2 .text
_Unwind_GetGR
      [52]  0x00002e90 0x0000000b  FUNC GLOB  D    2 .text
_Unwind_GetLanguageSpecificData
      [54]  0x00004580 0x00000013  FUNC GLOB  D    2 .text
_Unwind_SetGR
      [58]  0x00004100 0x00000171  FUNC GLOB  D    2 .text
_Unwind_RaiseException
      [62]  0x000043a0 0x000000c4  FUNC GLOB  D    2 .text
_Unwind_ForcedUnwind
      [67]  0x00002ea0 0x0000000b  FUNC GLOB  D    2 .text
_Unwind_GetRegionStart
      [75]  0x00004470 0x000000d7  FUNC GLOB  D    2 .text
_Unwind_Resume
      [78]  0x000045a0 0x0000000b  FUNC GLOB  D    2 .text
_Unwind_GetIP
     [123]  0x00004030 0x000000cd  FUNC LOCL  D    0 .text
_Unwind_RaiseException_Phase2
     [124]  0x00004280 0x00000120  FUNC LOCL  D    0 .text
_Unwind_ForcedUnwind_Phase2
     [161]  0x00004550 0x0000001b  FUNC GLOB  D    0 .text
_Unwind_DeleteException
     [169]  0x00002ec0 0x0000000b  FUNC GLOB  D    0 .text
_Unwind_GetTextRelBase
     [172]  0x000045b0 0x0000000e  FUNC GLOB  D    0 .text
_Unwind_SetIP
     [173]  0x00002eb0 0x0000000b  FUNC GLOB  D    0 .text
_Unwind_GetDataRelBase
     [181]  0x00005770 0x0000017c  FUNC GLOB  D    0 .text
_Unwind_Find_FDE
     [185]  0x00004570 0x00000010  FUNC GLOB  D    0 .text
_Unwind_GetGR
     [207]  0x00002e90 0x0000000b  FUNC GLOB  D    0 .text
_Unwind_GetLanguageSpecificData
     [209]  0x00004580 0x00000013  FUNC GLOB  D    0 .text
_Unwind_SetGR
     [213]  0x00004100 0x00000171  FUNC GLOB  D    0 .text
_Unwind_RaiseException
     [217]  0x000043a0 0x000000c4  FUNC GLOB  D    0 .text
_Unwind_ForcedUnwind
     [222]  0x00002ea0 0x0000000b  FUNC GLOB  D    0 .text
_Unwind_GetRegionStart
     [230]  0x00004470 0x000000d7  FUNC GLOB  D    0 .text
_Unwind_Resume
     [233]  0x000045a0 0x0000000b  FUNC GLOB  D    0 .text
_Unwind_GetIP

However, the libgcc_s.so.1 from the gcc-3.3 build seems to contain the
right symbol:

$ elfdump -s /playground/build/gccbuild/gcc/libgcc_s.so.1|fgrep "Unwind"
       [3]  0x00004710 0x0000000b  FUNC GLOB  D    2 .text
_Unwind_GetIP
      [13]  0x00004360 0x000000bd  FUNC GLOB  D    2 .text
_Unwind_ForcedUnwind
      [14]  0x00004720 0x0000000e  FUNC GLOB  D    2 .text
_Unwind_SetIP
      [17]  0x00002db0 0x0000000b  FUNC GLOB  D    2 .text
_Unwind_GetRegionStart
      [19]  0x00004620 0x000000b9  FUNC GLOB  D    3 .text
_Unwind_Backtrace
      [21]  0x000045f0 0x0000002f  FUNC GLOB  D    2 .text
_Unwind_DeleteException
      [22]  0x00004420 0x000000dc  FUNC GLOB  D    2 .text
_Unwind_Resume
      [27]  0x00002e10 0x0000000b  FUNC GLOB  D    2 .text
_Unwind_GetTextRelBase
      [29]  0x000058f0 0x0000017c  FUNC GLOB  D    2 .text
_Unwind_Find_FDE
      [31]  0x00002e00 0x0000000b  FUNC GLOB  D    2 .text
_Unwind_GetDataRelBase
      [32]  0x00002da0 0x0000000b  FUNC GLOB  D    2 .text
_Unwind_GetLanguageSpecificData
      [33]  0x000046e0 0x00000010  FUNC GLOB  D    2 .text
_Unwind_GetGR
      [44]  0x00004500 0x000000e8  FUNC GLOB  D    3 .text
_Unwind_Resume_or_Rethrow
      [47]  0x000040c0 0x00000179  FUNC GLOB  D    2 .text
_Unwind_RaiseException
      [52]  0x000046f0 0x00000013  FUNC GLOB  D    2 .text
_Unwind_SetGR
      [68]  0x00002d90 0x0000000b  FUNC GLOB  D    3 .text
_Unwind_GetCFA
      [81]  0x00002dc0 0x0000003c  FUNC GLOB  D    3 .text
_Unwind_FindEnclosingFunction
     [123]  0x00003ff0 0x000000cd  FUNC LOCL  D    0 .text
_Unwind_RaiseException_Phase2
     [124]  0x00004240 0x00000120  FUNC LOCL  D    0 .text
_Unwind_ForcedUnwind_Phase2
     [158]  0x00004710 0x0000000b  FUNC GLOB  D    0 .text
_Unwind_GetIP
     [168]  0x00004360 0x000000bd  FUNC GLOB  D    0 .text
_Unwind_ForcedUnwind
     [169]  0x00004720 0x0000000e  FUNC GLOB  D    0 .text
_Unwind_SetIP
     [172]  0x00002db0 0x0000000b  FUNC GLOB  D    0 .text
_Unwind_GetRegionStart
     [174]  0x00004620 0x000000b9  FUNC GLOB  D    0 .text
_Unwind_Backtrace
     [176]  0x000045f0 0x0000002f  FUNC GLOB  D    0 .text
_Unwind_DeleteException
     [177]  0x00004420 0x000000dc  FUNC GLOB  D    0 .text
_Unwind_Resume
     [182]  0x00002e10 0x0000000b  FUNC GLOB  D    0 .text
_Unwind_GetTextRelBase
     [184]  0x000058f0 0x0000017c  FUNC GLOB  D    0 .text
_Unwind_Find_FDE
     [186]  0x00002e00 0x0000000b  FUNC GLOB  D    0 .text
_Unwind_GetDataRelBase
     [187]  0x00002da0 0x0000000b  FUNC GLOB  D    0 .text
_Unwind_GetLanguageSpecificData
     [188]  0x000046e0 0x00000010  FUNC GLOB  D    0 .text
_Unwind_GetGR
     [199]  0x00004500 0x000000e8  FUNC GLOB  D    0 .text
_Unwind_Resume_or_Rethrow
     [202]  0x000040c0 0x00000179  FUNC GLOB  D    0 .text
_Unwind_RaiseException
     [207]  0x000046f0 0x00000013  FUNC GLOB  D    0 .text
_Unwind_SetGR
     [223]  0x00002d90 0x0000000b  FUNC GLOB  D    0 .text
_Unwind_GetCFA
     [236]  0x00002dc0 0x0000003c  FUNC GLOB  D    0 .text
_Unwind_FindEnclosingFunction

It would thus seem to be a build issue in that if the proper library had
been referred to, the symbol should have been located. However, the
command that abnormally terminates does seem to contain all the proper
library and search patch directives:

/playground/build/gccbuild/gcc/gcj -v
-B/playground/build/gccbuild/i686-sun-solaris2.9/libjava/
 -B/playground/build/gccbuild/gcc/ -ffloat-store -g -O2 -o .libs/jv-convert
--main=gnu.gcj.convert.Convert
 -shared-libgcc  -L/playground/build/gccbuild/i686-sun-solaris2.9/libjava
-L/playground/build/gccbuild/i686-sun-solaris2.9/libjava/.libs
 ./.libs/libgcj.so
-L/playground/build/gccbuild/i686-sun-solaris2.9/libstdc++-v3/src
-L/playground/build/gccbuild/i686-sun-solaris2.9/libstdc++-v3/src/.libs
 -L/usr/local/lib -lpthread -lrt -ldl -lz -L/playground/build/gccbuild/gcc
-L/usr/ccs/bin -L/usr/ccs/lib -lgcc_s -lgcc_s -Wl,-R -Wl,/opt/gcc-3.3/lib/.
-Wl,-R -Wl,/usr/local/lib

Any ideas? Anything else we can try?

Regards,
Bernard Michaud




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


  parent reply	other threads:[~2003-05-26 18:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20030515132600.10802.michaud.bernard@ic.gc.ca>
2003-05-26  7:17 ` dhazeghi@yahoo.com
2003-05-26 13:09 ` michaud.bernard@ic.gc.ca
2003-05-26 17:37 ` dhazeghi@yahoo.com
2003-05-26 17:45 ` pinskia@physics.uc.edu
2003-05-26 18:10 ` michaud.bernard@ic.gc.ca [this message]
2003-05-27  6:52 ` dhazeghi@yahoo.com
2003-05-27 11:41 ` michaud.bernard@ic.gc.ca
2003-05-27 15:21 ` pinskia@physics.uc.edu
2003-06-03 19:42 ` michaud.bernard@ic.gc.ca
2003-06-08  3:51 ` dhazeghi@yahoo.com
2003-07-12  3:39 ` neroden at gcc dot gnu dot org

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=20030526180442.2458.qmail@sources.redhat.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).