Current-Users archive

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

Re: evbcf (coldfire) build is broken



On 7 Oct, 2013, at 08:23 , Paul Goyette <paul%whooppee.com@localhost> wrote:
> I don't know if evbcf ever worked before ...
> 
> Sources updated on 2013-10-05 at 00:01:55 UTC:
> 
> includes ===> crypto/external/bsd/heimdal/lib/libheimbase
> #   install  /build/netbsd-local/dest/evbcf/usr/include/krb5/heimbase.h
> /build/netbsd-local/tools/x86_64/evbcf/bin/m5407--netbsdelf-install  -N 
> /build/netbsd-local/src/etc -c -p -r -c -o root -g wheel  -m 444 
> /build/netbsd-local/src/crypto/external/bsd/heimdal/dist/base/heimbase.h 
> /build/netbsd-local/dest/evbcf/usr/include/krb5/heimbase.h
> m5407--netbsdelf-install: 
> /build/netbsd-local/dest/evbcf/usr/include/krb5/heimbase.h.inst.12921a: 
> mkstemp: No such file or directory
> *** [/build/netbsd-local/dest/evbcf/usr/include/krb5/heimbase.h] Error code 1
> nbmake[8]: stopped in 
> /build/netbsd-local/src/crypto/external/bsd/heimdal/lib/libheimbase
> 1 error

While looking for something to compile a tree with some m68k bits
added I found that a successful build of evbcf needs the changes
below.  The problems seem related to the binutils changes.

Dennis Ferguson


Index: lib/libpthread/Makefile
===================================================================
RCS file: /cvsroot/src/lib/libpthread/Makefile,v
retrieving revision 1.82
diff -u -r1.82 Makefile
--- lib/libpthread/Makefile     15 Aug 2013 22:38:24 -0000      1.82
+++ lib/libpthread/Makefile     8 Oct 2013 20:10:36 -0000
@@ -78,8 +78,8 @@
 
 ALIGN_FUNCTIONS=       ${${ACTIVE_CC} == "gcc":? -falign-functions=32 :}
 
-.if ${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "m68000" || \
-    ${MACHINE_CPU} == "sh3" || ${MACHINE_ARCH} == "vax"
+.if ${MACHINE_CPU} == "m68k" || ${MACHINE_CPU} == "sh3" || \
+    ${MACHINE_ARCH} == "vax"
 OMIT_FRAME_POINTER=
 .else
 OMIT_FRAME_POINTER=    -fomit-frame-pointer
Index: libexec/ld.elf_so/Makefile
===================================================================
RCS file: /cvsroot/src/libexec/ld.elf_so/Makefile,v
retrieving revision 1.122
diff -u -r1.122 Makefile
--- libexec/ld.elf_so/Makefile  12 Aug 2013 17:15:46 -0000      1.122
+++ libexec/ld.elf_so/Makefile  8 Oct 2013 20:10:36 -0000
@@ -100,7 +100,7 @@
 #DBG=          -g
 COPTS+=                -O3
 
-.if ${MACHINE_ARCH} != "m68k" && ${MACHINE_CPU} != "sh3" && ${MACHINE_ARCH} != 
"vax"
+.if ${MACHINE_CPU} != "m68k" && ${MACHINE_CPU} != "sh3" && ${MACHINE_ARCH} != 
"vax"
 COPTS+=                -fomit-frame-pointer
 .endif
 





Home | Main Index | Thread Index | Old Index