summaryrefslogtreecommitdiffstats
path: root/dev/ports
diff options
context:
space:
mode:
Diffstat (limited to 'dev/ports')
-rw-r--r--dev/ports/core-linux-eglibc/bootstrap.mdwn9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev/ports/core-linux-eglibc/bootstrap.mdwn b/dev/ports/core-linux-eglibc/bootstrap.mdwn
index a9d0171..6f21ee3 100644
--- a/dev/ports/core-linux-eglibc/bootstrap.mdwn
+++ b/dev/ports/core-linux-eglibc/bootstrap.mdwn
@@ -72,6 +72,13 @@ when it executes the stage 1 binaries.
$ mkdir bootstrap_core-linux-eglibc/lib64
$ ln -sf /lib/core-linux-eglibc/ld-linux-x86-64.so.2 bootstrap_core-linux-eglibc/lib64/ld-linux-x86-64.so.2
+For most packages, this can be made unnecessary using GNU ld's
+`--dynamic-linker` option, e.g. by setting `LDFLAGS` to
+`-Wl,--dynamic-linker=/lib/core-linux-eglibc/ld-linux-x86-64.so.2`. Doing this
+when building GCC, however, makes executables like `gcc`, `cpp`, and `cc1`
+declare superfluous ELF NEEDED dependencies on `libstdc++.so.6` and
+`libgcc_s.so.1`.
+
[opkbuild-3.0.0-alpha4]: http://files.proteanos.com/pub/opkbuild/3.0.0-alpha4/
[opkhelper-3.0.0-beta2]: http://lists.proteanos.com/proteanos-dev/2013/05/msg00001.html
@@ -167,7 +174,7 @@ Building and Installing GNU Make
Run the following commands in a copy of the `gmake` source package to build GNU
Make for the bootstrap system.
- $ LDFLAGS='-Wl,--dynamic-linker=/lib/core-linux-eglibc/ld-linux-x86-64.so.2' opkbuild -b -c
+ $ opkbuild -b -c
Run the following commands in the bootstrap system directory to unpack the
`gmake` package: