public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc-3.2.3: libgnat.so undefined references
@ 2003-06-09  2:19 wulf
  2003-06-29 19:00 ` Florian Weimer
  0 siblings, 1 reply; 2+ messages in thread
From: wulf @ 2003-06-09  2:19 UTC (permalink / raw)
  To: gcc-help

G'day,

I've been using statically build versions of the gcc-ada compiler and decided
that it was time in trying to build a shared version of gcc-ada using the
gcc-core-3.2.3 and gcc-ada-3.2.3 source code distributions before embarking
on enabling tasking. The shared libraries libgnat.so and libgnarl.so built
without any problems.

However, when building dynamically linked applications the following
errors occur:

# gmake
gnatmake ftest
adagcc -c ftest.adb
gnatbind -x ftest.ali
gnatlink ftest.ali
[...]
/usr/local/lib/gcc-lib/i386--netbsdelf/3.2.2/adalib//libgnat.so: undefined reference to `xmalloc'
/usr/local/lib/gcc-lib/i386--netbsdelf/3.2.2/adalib//libgnat.so: undefined reference to `concat'
/usr/local/lib/gcc-lib/i386--netbsdelf/3.2.2/adalib//libgnat.so: undefined reference to `xstrdup'
/usr/local/lib/gcc-lib/i386--netbsdelf/3.2.2/adalib//libgnarl.so: undefined reference to `pthread_setschedparam'
collect2: ld returned 1 exit status
gnatlink: cannot call /usr/local/bin/adagcc
gnatmake: *** link failed.

Forcing a static build using the -bargs -static argument will result in
working binaries.

Sofar, I have been unable to track down this problem and hence my email to
this list in search for advice on what is needed in order to rectify
this problem.

Sysinfo: NetBSD-i386-1.6Q, gcc-core-3.2.2, gcc-ada-3.2.2, diffs 3.2.2>3.2.3

Any help is very much appreciated.

With many thanks in advance

cheerio Berndt

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gcc-3.2.3: libgnat.so undefined references
  2003-06-09  2:19 gcc-3.2.3: libgnat.so undefined references wulf
@ 2003-06-29 19:00 ` Florian Weimer
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2003-06-29 19:00 UTC (permalink / raw)
  To: wulf; +Cc: gcc-help

wulf@ping.net.au writes:

> Sysinfo: NetBSD-i386-1.6Q, gcc-core-3.2.2, gcc-ada-3.2.2, diffs 3.2.2>3.2.3

I don't think there is a working NetBSD port of the GNAT run-time
library (in particular the tasking part).

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-29 17:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-09  2:19 gcc-3.2.3: libgnat.so undefined references wulf
2003-06-29 19:00 ` Florian Weimer

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).