mig builds fine, gnumac errors out with the following:

i686-linux-gnu-gcc -nostdlib -nostartfiles -r -static \
-o clib-routines.o `sed 's/^/-Wl,-u,/' < gnumach-undef` -x c
/dev/null -lc -lgcc
ld --defsym _START=0x100000 -T '..'/i386/ldscript -o gnumach
gnumach.o clib-routines.o
clib-routines.o: In function `strcpy':
(.text+0x12d10): multiple definition of `strcpy'
gnumach.o:/root/gnumach-1.3.99.dfsg.git20110609/build/../kern/strings.c:118:
first defined here
clib-routines.o: In function `strncmp':
(.text+0x134e0): multiple definition of `strncmp'
gnumach.o:/root/gnumach-1.3.99.dfsg.git20110609/build/../kern/strings.c:88:
first defined here
clib-routines.o: In function `strncpy':
(.text+0x49920): multiple definition of `strncpy'
gnumach.o:/root/gnumach-1.3.99.dfsg.git20110609/build/../kern/strings.c:141:
first defined here
clib-routines.o: In function `time':
(.text+0x4a6f0): multiple definition of `time'
gnumach.o:/root/gnumach-1.3.99.dfsg.git20110609/build/../i386/i386at/kd.c:1407:
first defined here
ld: Warning: size of symbol `time' changed from 8 in gnumach.o to 26 in
clib-routines.o
ld: Warning: type of symbol `time' changed from 1 to 2 in clib-routines.o
clib-routines.o: In function `strcmp':
(.text+0x12ca0): multiple definition of `strcmp'
gnumach.o:/root/gnumach-1.3.99.dfsg.git20110609/build/../kern/strings.c:60:
first defined here
clib-routines.o: In function `strlen':
(.text+0x12d80): multiple definition of `strlen'
gnumach.o:/root/gnumach-1.3.99.dfsg.git20110609/build/../kern/strings.c:167:
first defined here
clib-routines.o: In function `__new_fclose':
(.text+0x70b0): undefined reference to `_Unwind_Resume'
clib-routines.o: In function `fflush':
(.text+0x71d6): undefined reference to `_Unwind_Resume'
clib-routines.o: In function `_IO_wfile_underflow':
(.text+0x8130): undefined reference to `_Unwind_Resume'
clib-routines.o: In function `_IO_file_fopen':
(.text+0xa6fb): undefined reference to `_Unwind_Resume'
clib-routines.o: In function `_IO_new_file_underflow':
(.text+0xa952): undefined reference to `_Unwind_Resume'
clib-routines.o:(.text+0x239dc): more undefined references to
`_Unwind_Resume' follow
clib-routines.o: In function `backtrace_helper':
null:(.text+0x3841b): undefined reference to `_Unwind_GetIP'
null:(.text+0x38440): undefined reference to `_Unwind_GetGR'
null:(.text+0x3844b): undefined reference to `_Unwind_GetCFA'
clib-routines.o: In function `__backtrace':
(.text+0x384ad): undefined reference to `_Unwind_Backtrace'
clib-routines.o: In function `ftell':
(.text+0x488d9): undefined reference to `_Unwind_Resume'
clib-routines.o: In function `_IO_seekoff':
(.text+0x48ad8): undefined reference to `_Unwind_Resume'
clib-routines.o: In function `fseek':
(.text+0x48c20): undefined reference to `_Unwind_Resume'
clib-routines.o: In function `ftello':
(.text+0x49099): undefined reference to `_Unwind_Resume'
clib-routines.o: In function `__atomic_writev_replacement':
null:(.text+0x4cb47): undefined reference to `_Unwind_Resume'
clib-routines.o:(.eh_frame+0x1743): undefined reference to
`__gcc_personality_v0'
clib-routines.o:(.eh_frame+0x186b): undefined reference to
`__gcc_personality_v0'
clib-routines.o:(.eh_frame+0x1b0b): undefined reference to
`__gcc_personality_v0'
clib-routines.o:(.eh_frame+0x224f): undefined reference to
`__gcc_personality_v0'
clib-routines.o:(.eh_frame+0x82e7): undefined reference to
`__gcc_personality_v0'
clib-routines.o:(.eh_frame+0x8caf): more undefined references to
`__gcc_personality_v0' follow
make[2]: *** [gnumach] Error 1
rm i386/i386/i386asm.symc i386/i386/i386asm.symc.o
make[2]: Leaving directory `/root/gnumach-1.3.99.dfsg.git20110609/build'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/root/gnumach-1.3.99.dfsg.git20110609/build'
make: *** [build-gnumach-std] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/174851

Title:
  mig and gnumach need a manual boot-strapping on the buildds

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnumach/+bug/174851/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to