Skip to contentSkip to conversation

Kernel crash/ oops >= 2.6.5 with gcc 3.4.0 on alpha

DISCUSSION Thomas Steudten 5 participants 7 messages May 28, 2004 Alpha port

lore
Share & tools
lore
#0 lore raw

Hi

Sorry, maybe I miss some message before.

I build the 2.6.6 kernel with gcc-3.4.0 and it crashs after start some init scripts (got no log at this time). So I tried to rebuild my last build 2.6.5, and this crashs to. The build with gcc-3.3.3 works without problems. modutils-2.4.27

http://www.uwsg.iu.edu/hypermail/linux/kernel/0405.1/1532.html

No other application seems to fail with gcc-3.4.0 so I think this problem is in context to the relocation, modules and gcc-3.4.0.

make modules
make[1]: `arch/alpha/kernel/asm-offsets.s' is up to date.
CC [M] fs/binfmt_em86.o
{standard input}: Assembler messages:
{standard input}:7: Warning: setting incorrect section attributes for .got
CC [M] fs/quota_v2.o
{standard input}: Assembler messages:
{standard input}:7: Warning: setting incorrect section attributes for .got
CC [M] fs/autofs/dirhash.o
CC [M] fs/autofs/init.o
{standard input}: Assembler messages:
{standard input}:7: Warning: setting incorrect section attributes for .got
CC [M] fs/autofs/inode.o

On x86 everything works without problems.

Please CC me.

Signature · 5 lines
Tom

LINUX user since kernel 0.99.x 1994.
RPM Alpha packages at http://alpha.steudten.com/packages
Want to know what S.u.S.E 1995 cdrom-set contains?
#1 lore raw
Quoted 10 lines · Thomas Steudten

Hi

Sorry, maybe I miss some message before.

I build the 2.6.6 kernel with gcc-3.4.0 and it crashs after start some init scripts (got no log at this time). So I tried to rebuild my last build 2.6.5, and this crashs to. The build with gcc-3.3.3 works without problems. modutils-2.4.27

Quoted 4 lines

http://www.uwsg.iu.edu/hypermail/linux/kernel/0405.1/1532.html

No other application seems to fail with gcc-3.4.0 so I think this problem is in context to the relocation, modules and gcc-3.4.0.

hmm, did you update the binutils too?
(if not, I'd try that)

best,
Herbert

Quoted 32 lines

make modules
make[1]: `arch/alpha/kernel/asm-offsets.s' is up to date.
CC [M] fs/binfmt_em86.o
{standard input}: Assembler messages:
{standard input}:7: Warning: setting incorrect section attributes for .got
CC [M] fs/quota_v2.o
{standard input}: Assembler messages:
{standard input}:7: Warning: setting incorrect section attributes for .got
CC [M] fs/autofs/dirhash.o
CC [M] fs/autofs/init.o
{standard input}: Assembler messages:
{standard input}:7: Warning: setting incorrect section attributes for .got
CC [M] fs/autofs/inode.o

On x86 everything works without problems.

Please CC me.

Signature · 13 lines
Tom

LINUX user since kernel 0.99.x 1994.
RPM Alpha packages at http://alpha.steudten.com/packages
Want to know what S.u.S.E 1995 cdrom-set contains?



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
#5 lore raw
In reply to Thomas Steudten

I also have this problem. compiling kernel process failed with gcc-3.4.0. i'm using gcc-3.3.3. Any idea???

Quoting Thomas Steudten <[email protected]>:

Quoted 47 lines

Hi

Sorry, maybe I miss some message before.

I build the 2.6.6 kernel with gcc-3.4.0 and it crashs after start some init scripts (got no log at this time). So I tried to rebuild my last build 2.6.5, and this crashs to. The build with gcc-3.3.3 works without problems. modutils-2.4.27

http://www.uwsg.iu.edu/hypermail/linux/kernel/0405.1/1532.html

No other application seems to fail with gcc-3.4.0 so I think this problem is in context to the relocation, modules and gcc-3.4.0.

make modules
make[1]: `arch/alpha/kernel/asm-offsets.s' is up to date.
CC [M] fs/binfmt_em86.o
{standard input}: Assembler messages:
{standard input}:7: Warning: setting incorrect section attributes for .got
CC [M] fs/quota_v2.o
{standard input}: Assembler messages:
{standard input}:7: Warning: setting incorrect section attributes for .got
CC [M] fs/autofs/dirhash.o
CC [M] fs/autofs/init.o
{standard input}: Assembler messages:
{standard input}:7: Warning: setting incorrect section attributes for .got
CC [M] fs/autofs/inode.o

On x86 everything works without problems.

Please CC me.

Signature · 12 lines
Tom

LINUX user since kernel 0.99.x 1994.
RPM Alpha packages at http://alpha.steudten.com/packages
Want to know what S.u.S.E 1995 cdrom-set contains?



-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#6 lore raw
In reply to Thomas Steudten
Quoted 2 lines · Thomas Steudten

No other application seems to fail with gcc-3.4.0 so I think this problem is in context to the relocation, modules and gcc-3.4.0.

Correct. It's fixed in 2.6.7-rc1.

Ivan.

#2 lore raw
In reply to Herbert Poetzl

I upgrade the binutils from 2.15.90 to 2.15.91, but the same message appears:

gcc -Wp,-MD,fs/cifs/.cifsfs.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -msmall-data -mcpu=pca56 -Wa,-mev6 -O2 -fomit-frame-pointer -Wdeclaration-after-statement -DMODULE -DKBUILD_BASENAME=cifsfs -DKBUILD_MODNAME=cifs -c -o fs/cifs/.tmp_cifsfs.o fs/cifs/cifsfs.c
{standard input}: Assembler messages:
{standard input}:7: Warning: setting incorrect section attributes for .got

Quoted 3 lines

hmm, did you update the binutils too?
(if not, I'd try that)

Signature · 5 lines
Tom

LINUX user since kernel 0.99.x 1994.
RPM Alpha packages at http://alpha.steudten.com/packages
Want to know what S.u.S.E 1995 cdrom-set contains?
#3 lore raw
Quoted 11 lines · Thomas Steudten

I upgrade the binutils from 2.15.90 to 2.15.91, but the same message appears:

gcc -Wp,-MD,fs/cifs/.cifsfs.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall

(quoted diff) +0 -3
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -mno-fp-regs 
-ffixed-8 -msmall-data -mcpu=pca56 -Wa,-mev6 -O2 -fomit-frame-pointer 
-Wdeclaration-after-statement   -DMODULE -DKBUILD_BASENAME=cifsfs -DKBUILD_MODNAME=cifs -c -o 

fs/cifs/.tmp_cifsfs.o fs/cifs/cifsfs.c
{standard input}: Assembler messages:
{standard input}:7: Warning: setting incorrect section attributes for .got

Hi !

I got same error with 2.6.7-rc1 !

I tryed 2 days ago with FC2 3.3.3-7 gcc and very latest CVS binutils.
I tryed with older 3 variants of binutils, i suspect gcc rather than binutils or else.
The ony what i dont tryed is older gcc.

Quoted 6 lines
Quoted 5 lines

hmm, did you update the binutils too?
(if not, I'd try that)

#4 lore raw
Quoted 6 lines · Balint Cristian
Quoted 3 lines

{standard input}: Assembler messages:
{standard input}:7: Warning: setting incorrect section attributes for .got

Hi !

I got same error with 2.6.7-rc1 !

It's not an error, just a warning, and it's unrelated to reported oops.

Ivan.