Bug#422971: gcc-4.1: FTBFS on arm: Error: junk at end of line, first unrecognized character is `, '

2007-05-11 Thread Daniel Jacobowitz
On Wed, May 09, 2007 at 09:52:26AM +0200, Matthias Klose wrote:
 clone 422971 -1
 reassign 422971 binutils
 thanks
 
 This patch is applied now for some time (originally taken from the
 Fedora branch); the binutils from the trunk doesn't accept this code
 anymore.

It never should have.

  The assembler does not like this line, which is added by
  debian/patches/note-gnu-stack.dpatch:
  
.section .note.GNU-stack,,@progbits

.section .note.GNU-stack,,%progbits

@ is an ARM comment marker.

-- 
Daniel Jacobowitz
CodeSourcery


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#422971: gcc-4.1: FTBFS on arm: Error: junk at end of line, first unrecognized character is `, '

2007-05-09 Thread Aurelien Jarno
Package: gcc-4.1
Version: 4.1.2-6
Severity: serious
Justification: no longer builds from source

gcc-4.1 fails to build from source on arm while trying to build libffi:

/build/buildd/gcc-4.1-4.1.2/build/./gcc/xgcc 
-B/build/buildd/gcc-4.1-4.1.2/build/./gcc/ -B/usr/arm-linux-gnu/bin/ 
-B/usr/arm-linux-gnu/lib/ -isystem /usr/arm-linux-gnu/include -isystem 
/usr/arm-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../src/libffi -I. 
-I. -I../../../src/libffi/include -Iinclude -I../../../src/libffi/src -Wall -g 
-fexceptions -O2 -g -O2 -MT src/closures.lo -MD -MP -MF src/.deps/closures.Tpo 
-c ../../../src/libffi/src/closures.c  -fPIC -DPIC -o src/.libs/closures.o
/build/buildd/gcc-4.1-4.1.2/build/./gcc/xgcc 
-B/build/buildd/gcc-4.1-4.1.2/build/./gcc/ -B/usr/arm-linux-gnu/bin/ 
-B/usr/arm-linux-gnu/lib/ -isystem /usr/arm-linux-gnu/include -isystem 
/usr/arm-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../src/libffi -I. 
-I. -I../../../src/libffi/include -Iinclude -I../../../src/libffi/src -Wall -g 
-fexceptions -O2 -g -O2 -MT src/closures.lo -MD -MP -MF src/.deps/closures.Tpo 
-c ../../../src/libffi/src/closures.c -o src/closures.o /dev/null 21
/bin/sh ./libtool --mode=compile /build/buildd/gcc-4.1-4.1.2/build/./gcc/xgcc 
-B/build/buildd/gcc-4.1-4.1.2/build/./gcc/ -B/usr/arm-linux-gnu/bin/ 
-B/usr/arm-linux-gnu/lib/ -isystem /usr/arm-linux-gnu/include -isystem 
/usr/arm-linux-gnu/sys-include -I. -I../../../src/libffi/include -Iinclude 
-I../../../src/libffi/src -O2 -g -O2  -c -o src/arm/sysv.lo 
../../../src/libffi/src/arm/sysv.S
mkdir src/arm/.libs
/build/buildd/gcc-4.1-4.1.2/build/./gcc/xgcc 
-B/build/buildd/gcc-4.1-4.1.2/build/./gcc/ -B/usr/arm-linux-gnu/bin/ 
-B/usr/arm-linux-gnu/lib/ -isystem /usr/arm-linux-gnu/include -isystem 
/usr/arm-linux-gnu/sys-include -I. -I../../../src/libffi/include -Iinclude 
-I../../../src/libffi/src -O2 -g -O2 -c ../../../src/libffi/src/arm/sysv.S  
-fPIC -DPIC -o src/arm/.libs/sysv.o
../../../src/libffi/src/arm/sysv.S: Assembler messages:
../../../src/libffi/src/arm/sysv.S:259: Error: junk at end of line, first 
unrecognized character is `,'
make[7]: *** [src/arm/sysv.lo] Error 1
make[7]: Leaving directory 
`/build/buildd/gcc-4.1-4.1.2/build/arm-linux-gnu/libffi'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory 
`/build/buildd/gcc-4.1-4.1.2/build/arm-linux-gnu/libffi'
make[5]: *** [all] Error 2
make[5]: Leaving directory 
`/build/buildd/gcc-4.1-4.1.2/build/arm-linux-gnu/libffi'


The assembler does not like this line, which is added by
debian/patches/note-gnu-stack.dpatch:

  .section .note.GNU-stack,,@progbits

Is it possible to mark memory as no-execute on arm? And is it supposed 
to be supported by binutils?


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm (armv5tejl)

Kernel: Linux 2.6.18-4-versatile
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Processed: Re: Bug#422971: gcc-4.1: FTBFS on arm: Error: junk at end of line, first unrecognized character is `, '

2007-05-09 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 clone 422971 -1
Bug#422971: gcc-4.1: FTBFS on arm: Error: junk at end of line, first 
unrecognized character is `, '
Bug 422971 cloned as bug 422978.

 reassign 422971 binutils
Bug#422971: gcc-4.1: FTBFS on arm: Error: junk at end of line, first 
unrecognized character is `, '
Bug reassigned from package `gcc-4.1' to `binutils'.

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#422971: gcc-4.1: FTBFS on arm: Error: junk at end of line, first unrecognized character is `, '

2007-05-09 Thread Matthias Klose
clone 422971 -1
reassign 422971 binutils
thanks

This patch is applied now for some time (originally taken from the
Fedora branch); the binutils from the trunk doesn't accept this code
anymore.

Aurelien Jarno writes:
 Package: gcc-4.1
 Version: 4.1.2-6
 Severity: serious
 Justification: no longer builds from source
 
 gcc-4.1 fails to build from source on arm while trying to build libffi:
 
 /build/buildd/gcc-4.1-4.1.2/build/./gcc/xgcc 
 -B/build/buildd/gcc-4.1-4.1.2/build/./gcc/ -B/usr/arm-linux-gnu/bin/ 
 -B/usr/arm-linux-gnu/lib/ -isystem /usr/arm-linux-gnu/include -isystem 
 /usr/arm-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../src/libffi -I. 
 -I. -I../../../src/libffi/include -Iinclude -I../../../src/libffi/src -Wall 
 -g -fexceptions -O2 -g -O2 -MT src/closures.lo -MD -MP -MF 
 src/.deps/closures.Tpo -c ../../../src/libffi/src/closures.c  -fPIC -DPIC -o 
 src/.libs/closures.o
 /build/buildd/gcc-4.1-4.1.2/build/./gcc/xgcc 
 -B/build/buildd/gcc-4.1-4.1.2/build/./gcc/ -B/usr/arm-linux-gnu/bin/ 
 -B/usr/arm-linux-gnu/lib/ -isystem /usr/arm-linux-gnu/include -isystem 
 /usr/arm-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I../../../src/libffi -I. 
 -I. -I../../../src/libffi/include -Iinclude -I../../../src/libffi/src -Wall 
 -g -fexceptions -O2 -g -O2 -MT src/closures.lo -MD -MP -MF 
 src/.deps/closures.Tpo -c ../../../src/libffi/src/closures.c -o 
 src/closures.o /dev/null 21
 /bin/sh ./libtool --mode=compile /build/buildd/gcc-4.1-4.1.2/build/./gcc/xgcc 
 -B/build/buildd/gcc-4.1-4.1.2/build/./gcc/ -B/usr/arm-linux-gnu/bin/ 
 -B/usr/arm-linux-gnu/lib/ -isystem /usr/arm-linux-gnu/include -isystem 
 /usr/arm-linux-gnu/sys-include -I. -I../../../src/libffi/include -Iinclude 
 -I../../../src/libffi/src -O2 -g -O2  -c -o src/arm/sysv.lo 
 ../../../src/libffi/src/arm/sysv.S
 mkdir src/arm/.libs
 /build/buildd/gcc-4.1-4.1.2/build/./gcc/xgcc 
 -B/build/buildd/gcc-4.1-4.1.2/build/./gcc/ -B/usr/arm-linux-gnu/bin/ 
 -B/usr/arm-linux-gnu/lib/ -isystem /usr/arm-linux-gnu/include -isystem 
 /usr/arm-linux-gnu/sys-include -I. -I../../../src/libffi/include -Iinclude 
 -I../../../src/libffi/src -O2 -g -O2 -c ../../../src/libffi/src/arm/sysv.S  
 -fPIC -DPIC -o src/arm/.libs/sysv.o
 ../../../src/libffi/src/arm/sysv.S: Assembler messages:
 ../../../src/libffi/src/arm/sysv.S:259: Error: junk at end of line, first 
 unrecognized character is `,'
 make[7]: *** [src/arm/sysv.lo] Error 1
 make[7]: Leaving directory 
 `/build/buildd/gcc-4.1-4.1.2/build/arm-linux-gnu/libffi'
 make[6]: *** [all-recursive] Error 1
 make[6]: Leaving directory 
 `/build/buildd/gcc-4.1-4.1.2/build/arm-linux-gnu/libffi'
 make[5]: *** [all] Error 2
 make[5]: Leaving directory 
 `/build/buildd/gcc-4.1-4.1.2/build/arm-linux-gnu/libffi'
 
 
 The assembler does not like this line, which is added by
 debian/patches/note-gnu-stack.dpatch:
 
   .section .note.GNU-stack,,@progbits
 
 Is it possible to mark memory as no-execute on arm? And is it supposed 
 to be supported by binutils?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#422971: gcc-4.1: FTBFS on arm: Error: junk at end of line, first unrecognized character is `, '

2007-05-09 Thread Aurelien Jarno
Matthias Klose a écrit :
 clone 422971 -1
 reassign 422971 binutils
 thanks
 
 This patch is applied now for some time (originally taken from the
 Fedora branch); the binutils from the trunk doesn't accept this code
 anymore.
 

On my machine, binutils from etch also doesn't accept this code.


-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#422971: gcc-4.1: FTBFS on arm: Error: junk at end of line, first unrecognized character is `, '

2007-05-09 Thread Aurelien Jarno
Matthias Klose a écrit :
 clone 422971 -1
 reassign 422971 binutils
 thanks
 
 This patch is applied now for some time (originally taken from the
 Fedora branch); the binutils from the trunk doesn't accept this code
 anymore.

Also note that this patch is applied since version 4.1.1ds2-30, and that
 gcc-4.1 with this patch has never been build on arm in *Debian*.

It really looks like the binutils in Debian has never supported that.

-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian developer   | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]