Project

General

Profile

Bug #925

binutils needs a build tweak to produce a working gld

Added by Rich Lowe over 9 years ago. Updated about 9 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.

#1

Updated by Ken Mays about 9 years ago

  • 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 h
  • Difficulty set to Bite-size
  • Tags set to needs-triage
#2

Updated by Ken Mays about 9 years ago

  • 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

This issue was on an older package:
,5.11-0.151:20110523T143744Z

New package is:
,5.11-0.151.1:20110910T034951Z

#3

Updated by Ken Mays about 9 years ago

  • Status changed from New to Resolved
  • Priority changed from Immediate to Normal
#4

Updated by Rich Lowe about 9 years ago

Resolved on the oi_151a branch with 8b9ec524b240.

(Ken, it'd be really useful if you'd mention in bugs what caused them to be fixed, rather than just that you think they are)

Also available in: Atom PDF