Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34021 - gnat-3.15p-r3.ebuild links libgnat.so to PORTAGE_TMPDIR
Summary: gnat-3.15p-r3.ebuild links libgnat.so to PORTAGE_TMPDIR
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: David Holm (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-21 07:52 UTC by vasquez
Modified: 2003-12-30 02:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vasquez 2003-11-21 07:52:16 UTC
gnatmake didn't produce any dynamically linked executables. It appears that my
libgnat.so in /usr/lib/ada/gcc-lib/i686-pc-linux-gnu/2.8.1/adalib (rts-native)
was pointing to a non-existant loction in /var/tmp. Probably a build problem.

Reproducible: Always
Steps to Reproduce:
1. compile a simple ada program
2. ldd <simple program>
3. only libc and ld are linked

Actual Results:  
Large executable. libgnat.a linked.

Expected Results:  
libgnat.so should have been linked.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-11-21 11:43:11 UTC
no ada herd bugzilla email.
Comment 2 vasquez 2003-11-22 05:38:00 UTC
I re-emerged the package with the specified ebuild and now it works when
compiling with a command like this:
gnatmake -Abc rf -bargs -shared
The rf executable is then linked to the dynamic library.
Note: The default on Red Hat Linux 9 and reportedly on Debian also
is dynamic linking (i.e. without the "-bargs -shared").
Comment 3 David Holm (RETIRED) gentoo-dev 2003-12-27 06:55:04 UTC
Hmm, this bug got lost in my mailbox. I am taking care of this now.
Comment 4 David Holm (RETIRED) gentoo-dev 2003-12-29 13:49:50 UTC
Fixed bug, please someone confirm.
Comment 5 vasquez 2003-12-30 02:15:02 UTC
Still same behavior. Emergeing gnat leads to this:
in /usr/lib/ada/gcc-lib/i686-pc-linux-gnu/2.8.1:
--------------------------
root@test[2.8.1] >ls -al rts-native/adalib/*.so
-r-xr-xr-x    1 root     root       220206 Dec 30 11:05 rts-native/adalib/libgnarl-3.15.so
lrwxrwxrwx    1 root     root          105 Dec 30 11:07 rts-native/adalib/libgnarl.so -> /var/tmp/portage/gnat-3.15p-r3/image//usr/lib/ada/gcc-lib/i686-pc-linux-gnu/2.8.1/adalib/libgnarl-3.15.so
-r-xr-xr-x    1 root     root      1952653 Dec 30 11:05 rts-native/adalib/libgnat-3.15.so
lrwxrwxrwx    1 root     root          104 Dec 30 11:07 rts-native/adalib/libgnat.so -> /var/tmp/portage/gnat-3.15p-r3/image//usr/lib/ada/gcc-lib/i686-pc-linux-gnu/2.8.1/adalib/libgnat-3.15.so
root@test[2.8.1] >
--------------------------------
I also didn't see a new ebuild, gnat-3.15p-r3.ebuild