NetBSD-Bugs archive

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

toolchain/39367: Recent build infrastructure changes break hp700 build (patch included)



>Number:         39367
>Category:       toolchain
>Synopsis:       Recent build infrastructure changes break hp700 build (patch
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 16 21:45:00 +0000 2008
>Originator:     David H. Gutteridge
>Release:        NetBSD-current
>Organization:
>Environment:


System: NetBSD arcus-v1 4.99.70 NetBSD 4.99.70 (GENERIC) #0: Tue Jul 15 
23:54:25 PDT 2008  
builds@wb28:/home/builds/ab/HEAD/amd64/200807160002Z-obj/home/builds/ab/HEAD/src/sys/arch/amd64/compile/GENERIC
 
amd64
>Description:
Since revisions 1.10 and 1.11 of src/gnu/lib/libgcc4/Makefile.inc were
committed, -current builds of the hp700 port have been failing like so:

do-gnu-lib-libgcc4 ===> .
dependall ===> gnu/lib/libgcc4
dependall ===> gnu/lib/libgcc4/libgcc
dependall ===> gnu/lib/libgcc4/libgcc_eh
nbmake: nbmake: don't know how to make fptr.c. Stop
--- dependall-libgcc ---
*** [dependall-libgcc] Error code 2
A failure has been detected in another branch of the parallel make

nbmake: stopped in /home/builds/ab/HEAD/src/gnu/lib/libgcc4/libgcc_eh
--- dependall ---
*** [dependall] Error code 2
1 error

nbmake: stopped in /home/builds/ab/HEAD/src/gnu/lib/libgcc4/libgcc_eh
--- dependall-libgcc_eh ---
*** [dependall-libgcc_eh] Error code 2
2 errors

nbmake: stopped in /home/builds/ab/HEAD/src/gnu/lib/libgcc4
--- do-gnu-lib-libgcc4 ---
*** [do-gnu-lib-libgcc4] Error code 2
1 error

>How-To-Repeat:
Try compiling the hp700 port.

>Fix:
Following from lukem@'s changes for m68k builds, this patch fixes the
problem for me:

--- Makefile.inc~       2008-08-16 13:45:04.000000000 -0400
+++ Makefile.inc        2008-08-16 13:48:01.000000000 -0400
@@ -64,6 +64,10 @@
CPPFLAGS.xfgnulib.c+=-DEXTFLOAT=1
.endif

+.if ${MACHINE_ARCH} == "hppa"
+BUILDSYMLINKS+= ${DIST}/gcc/config/pa/fptr.c fptr.c
+.endif
+
.if ${MACHINE_ARCH} == "powerpc" || \
     ${MACHINE_ARCH} == "sh3el" || \
     ${MACHINE_ARCH} == "sh3eb"


>Unformatted:
 >included)
 
 


Home | Main Index | Thread Index | Old Index