[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ultra: any kernel with 3c59x buildable at all?



On Thu, Nov 15, 2001 at 06:01:11PM +1000, Alexander Zangerl wrote:
> On Wed, 14 Nov 2001 22:51:28 EST, Ben Collins writes:
> >For some reason the compiler fails on this with the potato egcs64, but
> >the woody/sid egcs64 compiles it just fine. Try upgrading to
> >woody(testing), and it should build fine.
> 
> thanks for the info, the compiler itself works, but now ld does not
> like me:
> first, sparc64-linux-ld and sparc64-linux-ar are not existent.
> 
> but the old tip (mailinglist archives 99/2k) for fixing the missing
> -ld and -ar (just symlink the real ones) does not help, 
> because then ld 
> (--version: GNU ld version 2.11.92.0.10 20011021 Debian/GNU Linux)
> barfs massively on building the kernel:
> 
> sparc64-linux-ld: warning: sparc:v9 architecture of input file `kmod.o'
> is incompatible with sparc output
> make[3]: *** [kernel.o] Segmentation fault
> 
> hmm, are there separate binutils a/v for sparc64? apt-cache doesn't 
> suggest that...

No, this is a bug in the kernel source you are using (newer binutils
don't output targets with --version). Edit arch/sparc64/Makefile, find
the line that starts with NEW_GAS, and change --version to -V.


Ben

-- 
 .----------=======-=-======-=========-----------=====------------=-=-----.
/                   Ben Collins    --    Debian GNU/Linux                  \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: