[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 12:08:28 UTC 2011


Issue #925 has been updated by Ken Mays.

Due date set to 2011-09-14
Assignee changed from OI SFW to OI Userland
Target version set to oi_151_stable
Estimated time set to 8.00
Difficulty set to Bite-size
Tags set to needs-triage


----------------------------------------
Bug #925: binutils needs a build tweak to produce a working gld
https://www.illumos.org/issues/925

Author: Rich Lowe
Status: New
Priority: Normal
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