adtools / os4sdl

Automatically exported from code.google.com/p/os4sdl
GNU Lesser General Public License v2.1
2 stars 2 forks source link

Lots of "not in segment" errors during build #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When building the libraries, you get a LOT of these kinds of errors:

ld -r -o build/.libs/libSDL.la-31.o build/.libs/SDL_blit.o
build/.libs/libSDL.la-30.o
gcc:bin/ld: build/.libs/libSDL.la-31.o: warning: allocated section '.text'
not in segment
gcc:bin/ld: build/.libs/libSDL.la-31.o: warning: allocated section
'.rodata' not in segment
gcc:bin/ld: build/.libs/libSDL.la-31.o: warning: allocated section
'.rodata.str1.4' not in segment
gcc:bin/ld: build/.libs/libSDL.la-31.o: warning: allocated section
'.rodata.cst4' not in segment
gcc:bin/ld: build/.libs/libSDL.la-31.o: warning: allocated section '.data'
not in segment
gcc:bin/ld: build/.libs/libSDL.la-31.o: warning: allocated section '.got2'
not in segment
gcc:bin/ld: build/.libs/libSDL.la-31.o: warning: allocated section
'.data.rel.ro.local' not in segment
gcc:bin/ld: build/.libs/libSDL.la-31.o: warning: allocated section '.fixup'
not in segment
gcc:bin/ld: build/.libs/libSDL.la-31.o: warning: allocated section
'.data.rel.ro' not in segment

I have no idea how to fix this.

Original issue reported on code.google.com by p...@petergordon.org.uk on 3 Jul 2009 at 8:22

GoogleCodeExporter commented 9 years ago
It still makes a working library in the end, though.

Original comment by p...@petergordon.org.uk on 3 Jul 2009 at 8:22

GoogleCodeExporter commented 9 years ago
I tried with the new binutils 2.18 with fixes for the ELF library quickfix 
recently
released; the errors go away then. 

I haven't tested the result yet, though.

Original comment by Hans-Jo...@friedenhq.org on 3 Jul 2009 at 1:30

GoogleCodeExporter commented 9 years ago
OK, i'll mark this as "WontFix", since the bug isn't in SDL itself.

Original comment by p...@petergordon.org.uk on 3 Jul 2009 at 1:38

GoogleCodeExporter commented 9 years ago
I still have this problem. I'm not the only one. I have no idea how to fix it.

Original comment by p...@petergordon.org.uk on 25 Mar 2010 at 7:12

GoogleCodeExporter commented 9 years ago
this seems a compiler problem and however i never seen those warnings

Original comment by andrea.palmate@gmail.com on 15 Jul 2010 at 5:45