* Trouble building kernel
@ 2005-07-21 2:56 alexander.samad
2005-07-21 18:32 ` tsv
0 siblings, 1 reply; 4+ messages in thread
From: alexander.samad @ 2005-07-21 2:56 UTC (permalink / raw)
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/axp-list/attachments/20050721/df4bd7ed/attachment.htm>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Trouble building kernel
2005-07-21 2:56 Trouble building kernel alexander.samad
@ 2005-07-21 18:32 ` tsv
0 siblings, 0 replies; 4+ messages in thread
From: tsv @ 2005-07-21 18:32 UTC (permalink / raw)
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/20050721/88aa0dc4/attachment.htm>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Trouble building kernel
@ 2005-07-21 21:05 alexander.samad
2005-07-22 14:20 ` tsv
0 siblings, 1 reply; 4+ messages in thread
From: alexander.samad @ 2005-07-21 21:05 UTC (permalink / raw)
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Trouble building kernel
2005-07-21 21:05 alexander.samad
@ 2005-07-22 14:20 ` tsv
0 siblings, 0 replies; 4+ messages in thread
From: tsv @ 2005-07-22 14:20 UTC (permalink / raw)
Samad, Alex wrote:
> 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.?
>
The main compiler for AC 1.0 is gcc 3.4. gcc 4.x is the main compiler
for "devel" (aka AC 2.0 or what ever it will be) repository. You should
you gcc from AC1.0 distribution and it was used to build the kernel.
I got new kernel (2.6.12-something) from FC4 compiled by gcc 4.x, but
like I said - I've never tried to boot it. :)
I tried to build vanila kernel (from kernel.org) with gcc 4.x, but I had
problems with new version of udev during boot.
So far I didn't have time to figure out what the problem is.
Regards,
>
>
> 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 <mailto:axp-list at redhat.com>
>
>https://www.redhat.com/mailman/listinfo/axp-list
>
>
>
>--
>
>---
>
>Sergey Tikhonov
>
>Solvo Ltd.
>
>tsv at solvo.ru <mailto:tsv at solvo.ru>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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/201d44f4/attachment.htm>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-07-22 14:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-21 2:56 Trouble building kernel alexander.samad
2005-07-21 18:32 ` tsv
-- strict thread matches above, loose matches on Subject: below --
2005-07-21 21:05 alexander.samad
2005-07-22 14:20 ` tsv
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox