Subject: Re: toolchain/35105: paxctl fails to build as tool for powerpc/evbppc
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 11/24/2006 22:00:06
The following reply was made to PR toolchain/35105; it has been noted by GNATS.

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: toolchain-manager@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org
Subject: Re: toolchain/35105: paxctl fails to build as tool for powerpc/evbppc
Date: Fri, 24 Nov 2006 22:58:52 +0100

 On Thu, Nov 23, 2006 at 02:40:01PM +0000, Juergen Hannken-Illjes wrote:
 > >Number:         35105
 > >Category:       toolchain
 > >Synopsis:       paxctl fails to build as tool for powerpc/evbppc
 > >Confidential:   no
 > >Severity:       critical
 > >Priority:       high
 > >Responsible:    toolchain-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Thu Nov 23 14:40:01 +0000 2006
 > >Originator:     Juergen Hannken-Illjes
 > >Release:        NetBSD 4.99.4
 > >Organization:
 > 	
 > >Environment:
 > 	
 > 	
 > >Description:
 > 	
 > 	Cross-building for powerpc/evbppc yields:
 > 
 > 	#    create  paxctl/paxctl.d
 > 	/build/dist/obj/tools.evbppc/bin/nbhost-mkdep -f paxctl.d --     -I/build/dist/obj/tools.evbppc/include/nbinclude -I/build/dist/obj/tools.evbppc/include -I/build/dist/obj/evbppc/tools/compat -I/build/dist/obj/evbppc/tools/compat/include  -I/build/dist/src/tools/paxctl/../compat -DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64   /build/dist/src/tools/paxctl/../../usr.bin/paxctl/paxctl.c
 > 	In file included from /build/dist/obj/tools.evbppc/include/nbinclude/machine/elf_machdep.h:3,
 > 	                 from /build/dist/src/sys/sys/exec_elf.h:65,
 > 	                 from /build/dist/src/usr.bin/paxctl/paxctl.c:45:
 > 	/build/dist/obj/tools.evbppc/include/nbinclude/powerpc/elf_machdep.h:22:50: machine/reloc.h: No such file or directory
 
 
 powerpc/include/reloc.h only has "enum reloc_type" definition; other
 ports have inlined it in elf_machdep.h. I suspect we should do the same
 here. Any powerpc port expert out here ?
 
 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --