Compile error in 2.4.x and 2.5.x
Hi!
I'm currently experiencing the following compile error:
gcc -D__ASSEMBLY__ -traditional -D__KERNEL__ -I/usr/src/packages/full_cvs/linux-build-2.4/include -c -o hpmc.o hpmc.S gcc -D__ASSEMBLY__ -traditional -D__KERNEL__ -I/usr/src/packages/full_cvs/linux-build-2.4/include -c -o real2.o real2.S real2.S: Assembler messages:
real2.S:126: Error: too many positional arguments
make[1]: *** [real2.o] Error 1
make[1]: Leaving directory `/usr/src/packages/full_cvs/linux-build-2.4/arch/parisc/kernel'
make: *** [_dir_arch/parisc/kernel] Error 2
This is with:
jbglaw@b132l-1:/usr/src/packages/full_cvs/linux-build-2.4$ as -v GNU assembler version 2.14.90.0.4 (hppa-linux) using BFD version 2.14.90.0.4 20030523 Debian GNU/Linux
jbglaw@b132l-1:/usr/src/packages/full_cvs/linux-build-2.4$ gcc -v Reading specs from /usr/lib/gcc-lib/hppa-linux/3.3/specs Configured with: ../src/configure -v --enable-languages=c,c++,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-sjlj-exceptions --enable-clocale=gnu --enable-debug --enable-objc-gc hppa-linux Thread model: posix gcc version 3.3 (Debian)
MfG, JBG
PS: Up to now, I still can't find CVS repos or checkouts which where previously available via rsync. cvs.p-l.org only has .tar.gz and some diffs, and rsync.p-l.org only has some README in place which promises anything has been moved to cvs.p-l.org - but the checked-out archives are still missing:(
Signature · 4 lines
Jan-Benedict Glaw [email protected] . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));
Quoted 3 lines
jbglaw@b132l-1:/usr/src/packages/full_cvs/linux-build-2.4$ as -v GNU assembler version 2.14.90.0.4 (hppa-linux) using BFD version 2.14.90.0.= 4 20030523 Debian GNU/Linux
Try updating binutils and remove whitespace from the argument of the PA macro. The assembler is now much more strict about the presence of whitespace in the operands field. There was a recent version that didn't allow any whitespace. The current cvs version allows whitespace after a comma. These changes were made to improve the detection of labels.
Dave
Signature · 2 lines
J. David Anglin [email protected] National Research Council of Canada (613) 990-0752 (FAX: 952-6602)