Subject: port-powerpc/17600: sys/arch/powerpc/powerpc/trap_subr.S compile errors
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ww@STYX.ORG>
List: netbsd-bugs
Date: 07/15/2002 03:02:38
>Number:         17600
>Category:       port-powerpc
>Synopsis:       sys/arch/powerpc/powerpc/trap_subr.S compile errors
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-powerpc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 15 00:03:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     ww@STYX.ORG
>Release:        20020714
>Organization:
	Idiosyntactix Research Laboratories
>Environment:
System: NetBSD styx.org 1.6B NetBSD 1.6B (STYX) #1: Wed Jul 3 03:37:22 EDT 2002 ww@styx.org:/a/aero/root/disk2/NetBSD/src/sys/arch/macppc/compile/STYX macppc
Architecture: powerpc
Machine: macppc
>Description:

When building locore.o on a macppc from current sources with both 
the regular cc and the one from the new toolchain, the following
happens:

cc   -D_LOCORE  -Dmacppc -I.  -I../../../../arch -I../../../.. -nostdinc -DDIAGNOSTIC -DTRAP_PANICWAIT -DMAXUSERS=64 -D_KERNEL -D_KERNEL_OPT -c /usr/src/sys/arch/macppc/compile/GENERIC/../../../../arch/macppc/macppc/locore.S
../../../../arch/powerpc/powerpc/trap_subr.S: Assembler messages:
../../../../arch/powerpc/powerpc/trap_subr.S:784: Error: Negative of non-absolute symbol SPFRAMELEN
../../../../arch/powerpc/powerpc/trap_subr.S:785: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:786: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:787: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:788: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:789: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:790: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:791: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:792: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:793: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:794: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:795: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:806: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:807: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:808: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:809: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:810: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:811: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:812: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:813: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:814: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:815: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:816: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:835: Error: Negative of non-absolute symbol SPFRAMELEN
../../../../arch/powerpc/powerpc/trap_subr.S:836: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:837: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:838: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:839: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:840: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:841: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:842: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:843: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:844: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:845: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:846: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: Negative of non-absolute symbol IFRAMELEN
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:899: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:910: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:911: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:912: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:913: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:914: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:915: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:916: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:917: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:918: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:919: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:934: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:939: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:940: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:941: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:942: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:943: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:944: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:945: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:953: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:954: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:957: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:958: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:963: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:964: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:965: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:966: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: Negative of non-absolute symbol IFRAMELEN
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
../../../../arch/powerpc/powerpc/trap_subr.S:973: Error: unsupported relocation type
*** Error code 1

>How-To-Repeat:

	cd /usr/src/sys/arch/macppc/conf
	config GENERIC
	cd ../compile/GENERIC
	make depend && make locore.o

>Fix:
	unknown
>Release-Note:
>Audit-Trail:
>Unformatted: