Multiple definition of PT_IA_64_UNWIND

Ian Wienand ianw@gelato.unsw.edu.au
Tue Sep 30 00:18:00 GMT 2003


Hi,

PT_IA_64_UNWIND is defined by the IA64 kernel [*], so now you get lots
of redefinition warnings when building glibc.

-i
ianw@gelato.unsw.edu.au
http://www.gelato.unsw.edu.au

[*] Since this changeset
http://lia64.bkbits.net:8080/linux-ia64-2.5/diffs/include/asm-ia64/elf.h@1.11?nav=index.html|src/|src/include|src/include/asm-ia64|hist/include/asm-ia64/elf.h
-------------- next part --------------
Index: ./elf/elf.h
===================================================================
RCS file: /cvs/glibc/libc/elf/elf.h,v
retrieving revision 1.134
diff -u -r1.134 elf.h
--- ./elf/elf.h	26 Jun 2003 19:54:29 -0000	1.134
+++ ./elf/elf.h	30 Sep 2003 00:14:20 -0000
@@ -2163,7 +2163,9 @@
 
 /* Processor specific values for the Phdr p_type field.  */
 #define PT_IA_64_ARCHEXT	(PT_LOPROC + 0)	/* arch extension bits */
-#define PT_IA_64_UNWIND		(PT_LOPROC + 1)	/* ia64 unwind bits */
+#ifndef PT_IA_64_UNWIND
+# define PT_IA_64_UNWIND		(PT_LOPROC + 1)	/* ia64 unwind bits */
+#endif
 
 /* Processor specific flags for the Phdr p_flags field.  */
 #define PF_IA_64_NORECOV	0x80000000	/* spec insns w/o recovery */


More information about the Libc-alpha mailing list