[Userland] [OpenIndiana Distribution - Bug #4562] Need a package to deliver GCC runtime libraries
illumos project
devnull at illumos.org
Sat Feb 15 12:27:39 UTC 2014
Issue #4562 has been updated by Richard PALO.
Andrew Stormont wrote:
> I think the real solution is for illumos to not depend on these libraries. They should be statically linked in.
Seems feasible, has anybody tried modifying
<pre>
richard at x3200:~/src/illumos-gate/usr/src$ find . -name 'Makefile*' -exec egrep 'lstdc++|lgcc_s' {} \; -print
$(__GNUC)CCNEEDED = -L$(GCCLIBDIR) -lstdc++ -lgcc_s
./Makefile.master
$(__GNUC64)CCNEEDED = -L$(GCCLIBDIR) -lstdc++
$(__GNUC64)CCNEEDED += -lgcc_s
./Makefile.master.64
</pre>
and placing -lstdc++ and -lgcc_s between '-Wl,-Bstatic' and '-Wl,-Bdynamic' qualifiers?
----------------------------------------
Bug #4562: Need a package to deliver GCC runtime libraries
https://www.illumos.org/issues/4562
Author: Gary Mills
Status: New
Priority: Normal
Assignee: OI Userland
Category: SFW (Solaris Freeware)
Target version:
Difficulty: Medium
Tags: gcc
Now that gcc is the primary compiler, building illumos fails with errors that report missing runtime libraries:
@
usr/bin/audioconvert: libstdc++.so.6 => (file not found) <no -zdefs?>
usr/bin/audioconvert: libgcc_s.so.1 => (file not found) <no -zdefs?>
usr/lib/amd64/libfru.so.1: libstdc++.so.6 => (file not found) <no -zdefs?>
usr/lib/amd64/libfru.so.1: libgcc_s.so.1 => (file not found) <no -zdefs?>
@
The necessary libraries are in /opt/gcc/4.4.4/lib and /opt/gcc/4.4.4/lib/amd64, using the compiler required for building illumos. To resolve this problem, I created two symlinks in /usr/lib and two in /usr/lib/amd64 . It would be helpful to have these symlinks delivered in a package that arrived with the compiler, rather than having to create them manually.
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account
More information about the Userland-team
mailing list