bpd1069 / naclports

Automatically exported from code.google.com/p/naclports
0 stars 0 forks source link

dosbox build broken for newlib after rev 574 / not built regularly and noticed #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
NACL_PACKAGES_BITSIZE=64 make clean && \
NACL_PACKAGES_BITSIZE=64 make dosbox

errors out with:

pepper_19/toolchain/linux_x86_newlib/bin/x86_64-nacl-g++  -O2 -g    -o dosbox  
dosbox.o  cpu/libcpu.a debug/libdebug.a dos/libdos.a fpu/libfpu.a  
hardware/libhardware.a gui/libgui.a ints/libints.a misc/libmisc.a 
shell/libshell.a hardware/serialport/libserial.a libs/gui_tk/libgui_tk.a 
ppapi/libppapi.a -Wl,--whole-archive       -lppapi       -lppapi_cpp       
-lSDL       -lSDLmain       -Wl,--no-whole-archive       ppapi/libppapi.a       
-lnacl-mounts 
-L/usr/local/google/home/nacl_sdk_install/pepper_19/toolchain/linux_x86_newlib/x
86_64-nacl/usr/lib       -lm       -lpng       -lz 
-L/usr/local/google/home/nacl_sdk_install/pepper_19/toolchain/linux_x86_newlib/x
86_64-nacl/usr/lib -lSDL -lpthread -lm -lpthread -lpng -lz -lnosys

/usr/local/google/home/nacl_sdk_install/pepper_19/toolchain/linux_x86_newlib/x86
_64-nacl/usr/lib/libnacl-mounts.a(Entry.o): In function `getpwnam':
Entry.cc:(.text+0x28a0): multiple definition of `getpwnam'

Same thing happens with PNaCl + newlib.

Original issue reported on code.google.com by jvo...@google.com on 16 May 2012 at 2:30

GoogleCodeExporter commented 9 years ago
We may be able to just remove the stub in dosbox's libppapi.a (it just 
asserts).  Also, this is not building at all even for glibc buildbots, so we 
should add the build to the newlib and glibc buildbots, not just pnacl 
buildbots to check for regressions.

Original comment by jvo...@gmail.com on 16 May 2012 at 6:16

GoogleCodeExporter commented 9 years ago

Original comment by jvo...@google.com on 16 May 2012 at 6:20