NetBSD-Bugs archive

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

Re: toolchain/50961: cross compiling evbarm tools on Darwin 8 PowerPC fails



The following reply was made to PR toolchain/50961; it has been noted by GNATS.

From: Sevan Janiyan <venture37%geeklan.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/50961: cross compiling evbarm tools on Darwin 8 PowerPC
 fails
Date: Sun, 15 May 2016 17:09:53 +0100

 As a hack I excluded Apple from the if statement which defines 
 ELFTC_VCSID(ID) to __asm__(".ident\t\"" ID "\"") and I was able to build 
 the cross-compile toolchain on Darwin 8 PowerPC without issue, will see 
 if v9 has any issues before proposing an amendment to the if statement.
 
 Index: external/bsd/elftoolchain/dist/common/_elftc.h
 ===================================================================
 RCS file: /cvsroot/src/external/bsd/elftoolchain/dist/common/_elftc.h,v
 retrieving revision 1.5
 diff -u -r1.5 _elftc.h
 --- external/bsd/elftoolchain/dist/common/_elftc.h	13 Mar 2016 03:47:41 
 -0000	1.5
 +++ external/bsd/elftoolchain/dist/common/_elftc.h	15 May 2016 16:07:50 
 -0000
 @@ -296,7 +296,7 @@
   #define	ELFTC_VCSID(ID)		__FBSDID(ID)
   #endif
 
 -#if defined(__APPLE__) || defined(__GLIBC__) || defined(__GNU__) || \
 +#if !defined(__APPLE__) || defined(__GLIBC__) || defined(__GNU__) || \
       defined(__linux__)
   #if defined(__GNUC__)
   #define	ELFTC_VCSID(ID)		__asm__(".ident\t\"" ID "\"")
 
 
 ===> Tools built to /Sandbox/src/obj/tooldir.Darwin-8.11.0-Power_Macintosh
 ===> build.sh ended:      Sun May 15 16:54:51 BST 2016
 ===> Summary of results:
           build.sh command:    ./build.sh -U -m evbarm tools
           build.sh started:    Sun May 15 15:53:58 BST 2016
           NetBSD version:      7.99.29
           MACHINE:             evbarm
           MACHINE_ARCH:        earm
           Build platform:      Darwin 8.11.0 Power Macintosh
           HOST_SH:             /bin/sh
           No $TOOLDIR/bin/nbmake, needs building.
           Bootstrapping nbmake
           MAKECONF file:       /etc/mk.conf (File not found)
           TOOLDIR path: 
 /Sandbox/src/obj/tooldir.Darwin-8.11.0-Power_Macintosh
           DESTDIR path:        /Sandbox/src/obj/destdir.evbarm
           RELEASEDIR path:     /Sandbox/src/obj/releasedir
           Created 
 /Sandbox/src/obj/tooldir.Darwin-8.11.0-Power_Macintosh/bin/nbmake
           Updated makewrapper: 
 /Sandbox/src/obj/tooldir.Darwin-8.11.0-Power_Macintosh/bin/nbmake-evbarm
           Tools built to 
 /Sandbox/src/obj/tooldir.Darwin-8.11.0-Power_Macintosh
           build.sh ended:      Sun May 15 16:54:51 BST 2016
 ===> .
 


Home | Main Index | Thread Index | Old Index