[Userland-team] [OpenIndiana Distribution - Bug #925] binutils needs a build tweak to produce a working gld
illumos project
devnull at illumos.org
Sat Sep 10 18:00:58 UTC 2011
Issue #925 has been updated by Ken Mays.
Priority changed from Normal to Immediate
SunOS dev-builder 5.11 oi_151a i86pc i386 i86pc Solaris
/usr/gnu/bin/ld (GNU ld (GNU Binutils) 2.19)
---> ld:built in linker script:21: syntax error
binutils package in dev-il IPS is now breaking some compiler builds.
----------------------------------------
Bug #925: binutils needs a build tweak to produce a working gld
https://www.illumos.org/issues/925
Author: Rich Lowe
Status: New
Priority: Immediate
Assignee: OI Userland
Category: SFW (Solaris Freeware)
Target version: oi_151_stable
Difficulty: Bite-size
Tags: needs-triage
In sfwnv_158 (707ce1130311), a change was made to usr/src/cmd/binutils/Makefile to run configure using bash, which is apparently the fix for the non-functional gld we currently have ("syntax error in linker script").
If the next thing OI build is < 158, it would be very very good if that fix was backported.
diff inline
<pre><code class="diff">
diff -r 1f696df7901d -r 707ce1130311 usr/src/cmd/binutils/Makefile.sfw
--- a/usr/src/cmd/binutils/Makefile.sfw Sat Jan 15 11:19:05 2011 -0800
+++ b/usr/src/cmd/binutils/Makefile.sfw Sat Jan 22 12:27:08 2011 -0800
@@ -20,12 +20,11 @@
#
#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
+# Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
#
#
-#ident "@(#)Makefile.sfw 1.8 09/05/20 SMI"
+#ident "@(#)Makefile.sfw 1.9 11/01/03 SMI"
#
include ../Makefile.cmd
@@ -60,7 +59,8 @@
LD_OPTIONS="-M $(SRC)/cmd/mapfile_noexstk" \
PATH=$(SFW_PATH) \
MAKE=$(GMAKE) \
- $(SH) ./configure \
+ CONFIG_SHELL=$(CONFIG_SHELL) \
+ $(CONFIG_SHELL) ./configure \
--prefix=/usr/gnu \
--mandir=/usr/gnu/share/man \
--infodir=/usr/share/info \
</code>
</pre>
This appears to be the only relevant change made under the bugid for the broken gld.
--
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