[Bug binutils/10061] New: The binutils suite will not compile on systems without a bash shell

2009-04-11 Thread markhobley at yahoo dot co dot uk
The binutils suite will not compile on systems using a traditional Bourne
compatible shell. During build, the scripts will fail will errors as follows:

../../binutils-2.19.1/ld/genscripts.sh: /tmp/sh119278: cannot open
make[4]: *** [ei386linux.c] Error 1
make[4]: *** Waiting for unfinished jobs
../../binutils-2.19.1/ld/genscripts.sh: /tmp/sh11884180: cannot open
make[4]: *** [eelf_i386.c] Error 1
make[4]: Leaving directory `/local/home/lfs/binutils-build/ld'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/local/home/lfs/binutils-build/ld'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/local/home/lfs/binutils-build/ld'
make[1]: *** [all-ld] Error 2
make[1]: Leaving directory `/local/home/lfs/binutils-build'
make: *** [all] Error 2

The cause appears to be due to the absence of a bash shell.

Running grep on the unpackaged source, it appears that the scripts contain some
bashisms as follows:

genscrba.sh:#!/bin/bash

The above error occurs on systems using either an ash shell or a heirloom shell.

-- 
   Summary: The binutils suite will not compile on systems without a
bash shell
   Product: binutils
   Version: 2.19
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: markhobley at yahoo dot co dot uk
CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=10061

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/10047] [Regression] ld-new -m XXX no longer works

2009-04-11 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2009-04-11 
14:07 ---
Subject: Bug 10047

CVSROOT:/cvs/src
Module name:src
Changes by: h...@sourceware.org 2009-04-11 14:06:56

Modified files:
ld : ChangeLog ldfile.c 

Log message:
2009-04-11  H.J. Lu  

PR ld/10047
* ldfile.c (ldfile_find_command_file): First try raw name.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.1965&r2=1.1966
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ldfile.c.diff?cvsroot=src&r1=1.49&r2=1.50



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10047

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/10047] [Regression] ld-new -m XXX no longer works

2009-04-11 Thread hjl dot tools at gmail dot com

--- Additional Comments From hjl dot tools at gmail dot com  2009-04-11 
14:08 ---
Fixed.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=10047

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/10061] The binutils suite will not compile on systems without a bash shell

2009-04-11 Thread schwab at linux-m68k dot org

--- Additional Comments From schwab at linux-m68k dot org  2009-04-11 15:21 
---
Most likely the shell has a problem with the handing of here-documents.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10061

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/10061] The binutils suite will not compile on systems without a bash shell

2009-04-11 Thread amodra at bigpond dot net dot au

--- Additional Comments From amodra at bigpond dot net dot au  2009-04-12 
05:38 ---
Use of genscrba.sh is protected by a test of a bash specific variable, so that
should not be causing a problem.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10061

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils