last binutils-2.14.90.0.1 failled to build kernel
Hi All,
I am now runing a kernel 2.4.20-pa35 + lkcd bruno's patch with gcc-3.2.
In the mean time I made a distupgrade which mainly update binutils from 2.13.90.0.18-1.7 to 2.14.90.0.1-0.1 which make now failed the rebuild of the kernel:
[...]
gcc -D__ASSEMBLY__ -traditional -D__KERNEL__ -I/usr/src/LKCD/hppa/linux-2.4.20-pa35-lkcd/include
-c -o entry.o entry.Sentry.S: Assembler messages:
entry.S:191: Error: Undefined .EXPORT/.IMPORT argument (ignored):
entry.S:191: Error: Undefined .EXPORT/.IMPORT argument (ignored): code entry.S:514: Error: Undefined .EXPORT/.IMPORT argument (ignored):
entry.S:514: Error: Undefined .EXPORT/.IMPORT argument (ignored): code entry.S:573: Error: Undefined .EXPORT/.IMPORT argument (ignored):
entry.S:573: Error: Undefined .EXPORT/.IMPORT argument (ignored): code entry.S:574: Error: Undefined .EXPORT/.IMPORT argument (ignored):
entry.S:574: Error: Undefined .EXPORT/.IMPORT argument (ignored): code entry.S:603: Error: Undefined .EXPORT/.IMPORT argument (ignored):
entry.S:603: Error: Undefined .EXPORT/.IMPORT argument (ignored): code entry.S:858: Error: Undefined .EXPORT/.IMPORT argument (ignored):
entry.S:858: Error: Undefined .EXPORT/.IMPORT argument (ignored): code
make[1]: *** [entry.o] Error 1
make[1]: Leaving directory `/usr/src/LKCD/hppa/linux-2.4.20-pa35-lkcd/arch/parisc/kernel'
make: *** [_dir_arch/parisc/kernel] Error 2
[...]
Any idea?
Thanks,
Joel
---------------------------------
Vous surfez avec une ligne classique ? Economisez jusqu'à 25% avec Tiscali Complete ! Offre spéciale : première année d'abonnement offerte. ... Plus d'info sur http://complete.tiscali.be
RE: [parisc-linux] last binutils-2.14.90.0.2-0.1[was-2.14.90.0.1] failled to build kernel
Hi All,
Quoted 4 lines
I am now runing a kernel 2.4.20-pa35 + lkcd bruno's patch with gcc-3.2.
In the mean time I made a distupgrade which mainly update binutils from
2.13.90.0.18-1.7
Quoted 2 lines
to 2.14.90.0.1-0.1 which make now failed the rebuild of the kernel:
[...]
Still failed with binutils_2.14.90.0.2-0.1 :((
gcc -D__ASSEMBLY__ -traditional -D__KERNEL__ -I/usr/src/work/linux-2.4.21-rc2-pa35/include
-c -o real2.o real2.Sreal2.S: Assembler messages:
real2.S:126: Error: too many positional arguments
make[1]: *** [real2.o] Error 1
J.
---------------------------------
Vous surfez avec une ligne classique ? Economisez jusqu'à 25% avec Tiscali Complete ! Offre spéciale : première année d'abonnement offerte. ... Plus d'info sur http://complete.tiscali.be
Re: [parisc-linux] last binutils-2.14.90.0.2-0.1[was-2.14.90.0.1] failled to build kernel
Quoted 6 lines
Quoted 3 lines
I am now runing a kernel 2.4.20-pa35 + lkcd bruno's patch with gcc-3.2.
In the mean time I made a distupgrade which mainly update binutils from
2.13.90.0.18-1.7
Quoted 2 lines
to 2.14.90.0.1-0.1 which make now failed the rebuild of the kernel:
[...]
Quoted 7 lines
Still failed with binutils_2.14.90.0.2-0.1 :((
gcc -D__ASSEMBLY__ -traditional -D__KERNEL__ -I/usr/src/work/linux-2.4.21-rc2-pa35/include
-c -o real2.oreal2.Sreal2.S: Assembler messages:
real2.S:126: Error: too many positional arguments
make[1]: *** [real2.o] Error 1
This probably is due to these changes:
2003-04-23 H.J. Lu <[email protected]>
* app.c (do_scrub_chars): More checks for valid labels.
2003-04-22 H.J. Lu <[email protected]>
* app.c (do_scrub_chars): Check for valid label.
I reverted the relevant part of the above on the 2.14 branch.
2003-04-30 Alan Modra <[email protected]>
* config/tc-hppa.c (hppa_symbol_chars): Revert 2003-04-28 change.
* config/tc-hppa.h (tc_symbol_chars): Likewise.
* config/tc-ppc.c (ppc_symbol_chars): Revert 2003-04-24 change.
* config/tc-ppc.h (tc_symbol_chars): Likewise.
* app.c (do_scrub_chars): Revert 2003-04-23 and 2003-04-22 changes.
These are still on the binutils trunk. For the moment, I would advise not using any binutils version which includes these changes. While the assembler probably will work ok with GCC, the semantics have changed sufficiently that there may be problems with hand written assembler files.
These were done nominally to improve the detection of labels on ia64. However, the change to tc-hppa.c has affected the removal of extraneous whitespace. I think it also has affected the character set allowed to be used for symbols. If it has, I am going to ask for reversion of the above changes.
Joel, could you send me offline a few lines from real2.S around line 126?
Dave
Signature · 2 lines
J. David Anglin [email protected] National Research Council of Canada (613) 990-0752 (FAX: 952-6602)