On Thu, Feb 10, 2011 at 1:23 PM, Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk wrote:
On 09/02/11 18:37, Andreas Färber wrote:
speaking of BSS, should we worry about the following warning?
BFD: openbios-builtin.elf: warning: allocated section `.bss' not in segment
You should. That would've been my first guess: Check arch/sparc32/ldscript for missing sections.
Andreas
I don't see that warning at all here - is it specific to a particular gcc version?
I've noticed it when build it directly in obj-sparc32 directory. Otherwise the warning lands into build.log, not on console. Also I build it natively, on debian 4.0r8.
LINK openbios-builtin.elf GEN openbios-builtin.elf.syms STRIP openbios-builtin.elf BFD: openbios-builtin.elf: warning: allocated section `.bss' not in segment make[1]: Leaving directory `/projects/openbios-devel/obj-sparc32'
$ gcc --version gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Artyom