Project

General

Profile

Actions

Bug #925

closed

binutils needs a build tweak to produce a working gld

Added by Rich Lowe over 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
Start date:
2011-04-19
Due date:
2011-09-14
% Done:

0%

Estimated time:
8.00 h
Difficulty:
Bite-size
Tags:
needs-triage

Description

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


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 \

This appears to be the only relevant change made under the bugid for the broken gld.

Actions

Also available in: Atom PDF