OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004497 [libssp0] packaging major always 2010-07-24 00:42 2011-10-18 09:25
Reporter wilbury View Status public  
Assigned To maciej
Priority normal Resolution fixed  
Status closed  
Summary 0004497: symlinks "32" and "64" are not created from within gcc4corert package
Description There are missing symlinks in gcc4corert package, in /opt/csw/gcc4/lib.
ld.so expects 64-bit libraries in /opt/csw/gcc4/lib while gcc4corert package only create "amd64" directory without "32" and "64" symlinks, which are created only by much bigger "gcc4core" package.
Additional Information root@[tip /opt/csw/gcc4/lib]# ls -la
total 12640
drwxr-xr-x 3 root bin 14 Jul 24 00:35 .
drwxr-xr-x 3 root bin 3 Dec 21 2009 ..
drwxr-xr-x 2 root bin 13 Jul 24 00:29 amd64

root@[tip /opt/csw/gcc4/lib]# /opt/csw/bin/adnshost
ld.so.1: adnshost: fatal: libgcc_s.so.1: open failed: No such file or directory
Killed

root@[tip /opt/csw/gcc4/lib]# find . -name libgcc_s.so.1
./amd64/libgcc_s.so.1

root@[tip /opt/csw/gcc4/lib]# truss /opt/csw/bin/adnshost 2>&1 | grep gcc_s.so.1
stat("/usr/openwin/lib/libgcc_s.so.1", 0xFFFFFD7FFFDFF0F0) Err#2 ENOENT
stat("/opt/csw/gcc4/lib/64/libgcc_s.so.1", 0xFFFFFD7FFFDFF0F0) Err#2 ENOENT
stat("/opt/csw/lib/amd64/libgcc_s.so.1", 0xFFFFFD7FFFDFF0F0) Err#2 ENOENT
stat("/opt/csw/lib/pentium_pro+mmx/libgcc_s.so.1", 0xFFFFFD7FFFDFF0F0) Err#2 ENOENT
stat("/opt/csw/lib/pentium_pro/libgcc_s.so.1", 0xFFFFFD7FFFDFF0F0) Err#2 ENOENT
stat("/opt/csw/lib/pentium+mmx/libgcc_s.so.1", 0xFFFFFD7FFFDFF0F0) Err#2 ENOENT
stat("/opt/csw/lib/pentium/libgcc_s.so.1", 0xFFFFFD7FFFDFF0F0) Err#2 ENOENT
stat("/opt/csw/lib/i486/libgcc_s.so.1", 0xFFFFFD7FFFDFF0F0) Err#2 ENOENT
stat("/opt/csw/lib/i386/libgcc_s.so.1", 0xFFFFFD7FFFDFF0F0) Err#2 ENOENT
stat("/opt/csw/lib/i86/libgcc_s.so.1", 0xFFFFFD7FFFDFF0F0) Err#2 ENOENT
stat("/opt/csw/lib/64/libgcc_s.so.1", 0xFFFFFD7FFFDFF0F0) Err#2 ENOENT
stat("/lib/64/libgcc_s.so.1", 0xFFFFFD7FFFDFF0F0) Err#2 ENOENT
stat("/usr/lib/64/libgcc_s.so.1", 0xFFFFFD7FFFDFF0F0) Err#2 ENOENT
stat("/opt/csw/lib/amd64/libgcc_s.so.1", 0xFFFFFD7FFFDFF0F0) Err#2 ENOENT
ld.so.1: adnshost: fatal: libgcc_s.so.1: open failed: No such file or directory

root@[tip /opt/csw/gcc4/lib]# ln -s amd64 64
root@[tip /opt/csw/gcc4/lib]# /opt/csw/bin/adnshost
adnshost usage error: no domains given, and -f/--pipe not used; try --help
Tags 64, gcc, not created, symlink
Attached Files

- Relationships

-  Notes
(0008133)
wilbury (developer)
2010-07-24 00:43

"Proper" way would be to create "32 -> ." and "64 -> amd64" symlinks, asi in gcc4core package.
(0008529)
gadavis (reporter)
2010-12-06 17:53

Per discussion on the maintainers list, the proper solution is to move the 32 and 64 symlinks out of gcc4core into gcc4corert.
(0009338)
maciej (reporter)
2011-10-18 09:25

The new gcc packages put libraries into /opt/csw/lib, so this problem does not occur any more.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker