Port-playstation2 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Possible to use the bundled toolchain?
On Fri, May 10, 2002 at 10:52:06PM +0900, UCHIYAMA Yasushi wrote:
] | Is this just an optimization issue (slower code from mipsel compiler), or
] | does the standard mipsel compiler produce broken code (kernel panics)?
]
] Not optimization issue. It's work around for CPU bug.
] mipsEEel-netbsd-gcc pad extra nop for short-loop. But sssembler
] source is not fixed, I have added following fix manually.
]
] (locore.S)
] 1:
] #if defined(MIPS3_5900) /* work around for branch prediction miss. */
] nop
] nop
] nop
] #endif
] addu t2, t2, 1
] and t1, t0, 1 # bit set?
] beq t1, zero, 1b
] srl t0, t0, 1 # try next bit
Does this mean that we can now get around the build error of:
depending the kern library objects
CC=/usr/pkg/cross-ps2/bin/mipsEEel-netbsd-gcc
/autobuild/playstation2/OBJ/autobuild/Src-build/tools/tools.NetBSD-1.5ZC-i386/bin/nbmkdep
-a -D__NetBSD__ -D_LOCORE -I/autobuild/Src-build/sys/lib/libkern/arch/mips
-Dplaystation2 -I../../. -I/autobuild/Src-build/sys/arch
-I/autobuild/Src-build/sys -nostdinc -DMIPS3 -DMIPS3_5900 -DIPL_ICU_MASK
-DSOFTFLOAT -D__NO_LEADING_UNDERSCORES__ -D__GP_SUPPORT__ -DMAXUSERS=16
-D_KERNEL -D_KERNEL_OPT -nostdinc -isystem
/autobuild/playstation2/DEST/usr/include -traditional-cpp -DABICALLS
/autobuild/Src-build/sys/lib/libkern/arch/mips/byte_swap_2.S
/autobuild/Src-build/sys/lib/libkern/arch/mips/byte_swap_4.S
/autobuild/Src-build/sys/lib/libkern/arch/mips/ffs.S
/autobuild/Src-build/sys/lib/libkern/arch/mips/memcpy.S
/autobuild/Src-build/sys/lib/libkern/arch/mips/memset.S
/autobuild/Src-build/sys/lib/libkern/arch/mips/memmove.S
/autobuild/Src-build/sys/lib/libkern/arch/mips/strlen.S
/autobuild/Src-build/sys/lib/libkern/arch/mips/strcmp.S
nbmkdep: /usr/pkg/cross-ps2/bin/mipsEEel-netbsd-gcc: not found
As this is where the build machine is stopping.
-=erik.
Home |
Main Index |
Thread Index |
Old Index