Port-playstation2 archive

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

Building progress.

First, the previous subject "I'm getting better!" was a snarky adjunct
to the ironic subject the spambot injected immediately prior.  I couldn't
resist the Monty Python reference.

Second, I've made another stab at building.  Following prior suggestions,
I commented out the stuff I put in my "mk.conf" file and just did a
straight build of "tools distribution sets" with HAVE_GCC=48.  This
completed without any problem.

I then tackled manual configuration of kernels, using the "-s" and "-b"
options of 'config' to make the build directories show up where they
should in my OBJDIR, rather than in the source tree.

Changing to the kernel build directory and running "build.playstation2.sh"
didn't work quite right as MAKE assumed the host 'make' and not the one
from the TOOLDIR.  I modified it accordingly to point to
"bin/nbmake-playstation2" under my TOOLDIR.

Running the script with "depend" seemed to be going along ok, but then
failed with:

#    create  GENERIC/cache_r5k_subr.d
CC=/usr/pkg/bin/mipsel--netbsdelf-gcc /d0/build/current/tools/i386/bin/nbmkdep 
-f cache_r5k_subr.d --  -mabi=n32 -march=r5900 -fno-pic -mno-abicalls -x 
assembler-with-cpp  -D_LOCORE -Wa,--fatal-warnings     -Dplaystation2 -I.  
-I/x/current/src/sys/../common/include -I/x/current/src/sys/arch  
-I/x/current/src/sys -nostdinc -DMIPS3 -DMIPS3_5900 -DIPL_ICU_MASK -DSOFTFLOAT 
-D_KERNEL_OPT -std=gnu99 
cc1: error: unsupported combination: -march=r5900 -mhard-float -mdouble-float
nbmkdep: compile failed.

*** Failed target:  cache_r5k_subr.d
*** Failed command: CC=/usr/pkg/bin/mipsel--netbsdelf-gcc 
/d0/build/current/tools/i386/bin/nbmkdep -f cache_r5k_subr.d -- -mabi=n32 
-march=r5900 -fno-pic -mno-abicalls -x assembler-with-cpp -D_LOCORE 
-Wa,--fatal-warnings -Dplaystation2 -I. -I/x/current/src/sys/../common/include 
-I/x/current/src/sys/arch -I/x/current/src/sys -nostdinc -DMIPS3 -DMIPS3_5900 
*** Error code 1

nbmake: stopped in 

I don't know where it picked up the two extra "-m*-float" directives as I
don't see them in the command line(s).

|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

Home | Main Index | Thread Index | Old Index