Skip to contentSkip to conversation

Assembler warnings on Alpha

DISCUSSION Måns Rullgård 3 participants 5 messages May 12, 2004

lore
Share & tools
lore
#0 lore raw

When building Linux 2.6.6 on Alpha, I get numerous of these warnings:

{standard input}:6: Warning: setting incorrect section attributes for .got

What's going on? I'm using gcc 3.3.3 and binutils 2.15.90. Are these not good? Is the resulting kernel safe to boot?

Signature · 2 lines
Måns Rullgård
[email protected]
#1 lore raw
Quoted 6 lines · [email protected] (Måns Rullgård) writes:

When building Linux 2.6.6 on Alpha, I get numerous of these warnings:

{standard input}:6: Warning: setting incorrect section attributes for .got

What's going on? I'm using gcc 3.3.3 and binutils 2.15.90. Are these not good? Is the resulting kernel safe to boot?

Mine boots and the box has been up for few days now...

Signature · 4 lines
Mathieu Chouquet-Stringer              E-Mail : [email protected]
       Never attribute to malice that which can be adequately
                    explained by stupidity.
                     -- Hanlon's Razor --
#2 lore raw
Quoted 9 lines · Mathieu Chouquet-Stringer
Quoted 6 lines · [email protected] (Måns Rullgård) writes:

When building Linux 2.6.6 on Alpha, I get numerous of these warnings:

{standard input}:6: Warning: setting incorrect section attributes for .got

What's going on? I'm using gcc 3.3.3 and binutils 2.15.90. Are these not good? Is the resulting kernel safe to boot?

Mine boots and the box has been up for few days now...

Sounds promising. I guess I'll just give it a try. Now, does anyone know what causes those warnings?

Signature · 2 lines
Måns Rullgård
[email protected]
#3 lore raw
Quoted 2 lines · Måns Rullgård

Sounds promising. I guess I'll just give it a try. Now, does anyone know what causes those warnings?

For some weird reasons, the new GAS doesn't like "s" (SMALL_DATA) attribute for the .got section (see asm-alpha/module.h). These warnings are harmless. I hope the GAS will eventually be fixed though...

Ivan.

#4 lore raw
Quoted 8 lines · Ivan Kokshaysky
Quoted 2 lines · Måns Rullgård

Sounds promising. I guess I'll just give it a try. Now, does anyone know what causes those warnings?

For some weird reasons, the new GAS doesn't like "s" (SMALL_DATA) attribute for the .got section (see asm-alpha/module.h). These warnings are harmless. I hope the GAS will eventually be fixed though...

Thanks, now I won't be as nervous booting the new kernel. New warnings always scare me. I've seen too much code fail on Alpha for stupid reasons.

Signature · 2 lines
Måns Rullgård
[email protected]