Closed stffrdhrn closed 8 years ago
I'm fine with this patch. It's in line with what other arches do
Looks good, let me just trigger travis again, there seems to be a git hickup at binutils.
In the logs of travis I see many warnings related to ctors: https://travis-ci.org/openrisc/newlib/jobs/139747292
Are they somehow related?
Perhaps they are related to https://github.com/openrisc/newlib/pull/9 ?
Yes, this looks related to #9. I'll fix it, sorry I didnt notice as I didnt build gcc after building newlib, will do that from now
Yeah, sorry, I mixed them both up now :(
I will revert the #9 and please amend there. Thanks!
I commented on #11, I think both #9 and #10 (this one) are still ok.
Excellent, thanks for checking!
Environ is defined in libgloss and libc:
When linking we sometimes get errors: or1k-elf-g++ test.o -mnewlib -mboard=or1ksim -lm -o test /opt/shorne/software/or1k/lib/gcc/or1k-elf/5.3.0/../../../../or1k-elf/lib/libor1k.a(syscalls.o):(.data+0x0): multiple definition of `environ' /opt/shorne/software/or1k/lib/gcc/or1k-elf/5.3.0/../../../../or1k-elf/lib/libc.a(lib_a-environ.o):(.data+0x0): first defined here collect2: error: ld returned 1 exit status
This doesnt happen after the fix. Basic things build fine too.