tech-toolchain archive

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

build failure -m i386 on amd64



build.sh -m i386 release on amd64

--- dependall-libbfd ---
/usr/src/gnu/dist/binutils/bfd/archive.c: In function 'bfd_ar_hdr_from_filesyste
m':
/usr/src/gnu/dist/binutils/bfd/archive.c:1348: error: 'BFD_DETERMINISTIC_OUTPUT'
 undeclared (first use in this function)
   
...
 
 
It is defined in /usr/src/gnu/dist/binutils/bfd/bfd-in{,2}.h
but not in /usr/src/gnu/lib/libbfd/arch/i386/bfd.h

Maybe mknative needs running? In the meantime, this patches it up for me...

Cheers,

Patrick




Index: bfd.h
===================================================================
RCS file: /cvsroot/src/gnu/lib/libbfd/arch/i386/bfd.h,v
retrieving revision 1.10
diff -u -r1.10 bfd.h
--- bfd.h       4 Feb 2006 17:03:03 -0000       1.10
+++ bfd.h       6 Mar 2009 17:08:07 -0000
@@ -245,6 +245,11 @@
    to any input file.  */
 #define BFD_LINKER_CREATED 0x2000
 
+/* This may be set before writing out a BFD to request that it
+   be written using values for UIDs, GIDs, timestamps, etc. that
+   will be consistent from run to run.  */
+#define BFD_DETERMINISTIC_OUTPUT 0x4000
+
 /* Symbols and relocation.  */
 
 /* A count of carsyms (canonical archive symbols).  */


Home | Main Index | Thread Index | Old Index