Trouble building kernel

Samad, Alex alexander.samad at hp.com
Thu Jul 21 21:05:59 UTC 2005


Hi

 

Yep gcc 4, that's the only one I found at the repository...

 

Do you know what was used to make kernel-smp-2.6.11-1.1180axp_FC3 ? or
which version of gcc do yo use 3.?

 

thanks

 

________________________________

From: axp-list-bounces at redhat.com [mailto:axp-list-bounces at redhat.com]
On Behalf Of Sergey Tikhonov
Sent: Friday, 22 July 2005 4:32 AM
To: Linux on Alpha processors
Subject: Re: Trouble building kernel

 

Hi,

What compiler do you use? I guess gcc 4.x?
There were issues with include/asm/system.h and gcc 4.x. As far as I
understood - it is optimiser that doesn't remove "dead" code (which in
its turn would be activated if passed pointer in not properly aligned or
points to correct data with allowed size). In my test kernel I just
commented out that statement in the header. Frankly speaking, I have not
tried to run a kernel compiled with gcc 4.x.

Regards,

Samad, Alex wrote: 

Hi

Seem to be having some problem rebuilding the kernel from source, doing
this because of the ipv6 and the netfilter module issues!

I have this package installed

kernel-smp-devel-2.6.11-1.1180axp_FC3

and I get this error

 

fs/ext3/acl.c: In function 'ext3_set_acl':

fs/ext3/acl.c:229: warning: 'size' may be used uninitialized in this
function

fs/isofs/namei.c: In function 'isofs_lookup':

fs/isofs/namei.c:171: warning: 'offset' may be used uninitialized in
this function

fs/isofs/namei.c:171: warning: 'block' may be used uninitialized in this
function

lib/zlib_inflate/inftrees.c: In function 'huft_build':

lib/zlib_inflate/inftrees.c:121: warning: 'r.base' may be used
uninitialized in this function

net/ipv4/netfilter/ip_conntrack_core.c: In function 'ip_conntrack_in':

net/ipv4/netfilter/ip_conntrack_core.c:612: warning: 'set_reply' may be
used uninitialized in this function

drivers/scsi/aic7xxx/aic7xxx_osm.c: In function
'ahc_linux_register_host':

drivers/scsi/aic7xxx/aic7xxx_osm.c:1732: warning: ignoring return value
of 'scsi_add_host', declared with attribute warn_unused_result

  CHK     include/linux/compile.h

  UPD     include/linux/compile.h

kernel/built-in.o(.text+0x9e50): In function `__xchg':

include/asm/system.h:459: undefined reference to
`__xchg_called_with_bad_pointer'

kernel/built-in.o(.text+0x9e54):include/asm/system.h:459: undefined
reference to `__xchg_called_with_bad_pointer'

kernel/built-in.o(.text+0x2374c):include/asm/system.h:459: undefined
reference to `__xchg_called_with_bad_pointer'

kernel/built-in.o(.text+0x23750):include/asm/system.h:459: undefined
reference to `__xchg_called_with_bad_pointer'

fs/built-in.o(.text+0x22374): In function `__xchg':

include/asm/system.h:459: undefined reference to
`__xchg_called_with_bad_pointer'

fs/built-in.o(.text+0x22378):include/asm/system.h:459: more undefined
references to `__xchg_called_with_bad_pointer' follow

drivers/built-in.o(.text+0x44210): In function `__cmpxchg':

include/asm/system.h:610: undefined reference to
`__cmpxchg_called_with_bad_pointer'

drivers/built-in.o(.text+0x44214):include/asm/system.h:610: undefined
reference to `__cmpxchg_called_with_bad_pointer'

net/built-in.o(.text+0x310c): In function `__xchg':

include/asm/system.h:459: undefined reference to
`__xchg_called_with_bad_pointer'

net/built-in.o(.text+0x3110):include/asm/system.h:459: undefined
reference to `__xchg_called_with_bad_pointer'

net/built-in.o(.text+0x28c08):include/asm/system.h:459: undefined
reference to `__xchg_called_with_bad_pointer'

net/built-in.o(.text+0x28c0c):include/asm/system.h:459: undefined
reference to `__xchg_called_with_bad_pointer'

net/built-in.o(.text+0x8272c):include/asm/system.h:459: undefined
reference to `__xchg_called_with_bad_pointer'

net/built-in.o(.text+0x82730):include/asm/system.h:459: more undefined
references to `__xchg_called_with_bad_pointer' follow

make: *** [.tmp_vmlinux1] Error 1

error: Bad exit status from /var/tmp/rpm-tmp.89997 (%build)

 

Thought I would hit the list before I tried to confuse myself intrying
to decipher.

Thanks

 



________________________________



 
_______________________________________________
axp-list mailing list
axp-list at redhat.com
https://www.redhat.com/mailman/listinfo/axp-list





-- 
---
Sergey Tikhonov
Solvo Ltd.
tsv at solvo.ru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/axp-list/attachments/20050722/28c91370/attachment.htm>


More information about the axp-list mailing list