* [U-Boot] warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
@ 2010-08-31 22:30 Timur Tabi
2010-09-01 17:01 ` Mike Frysinger
0 siblings, 1 reply; 4+ messages in thread
From: Timur Tabi @ 2010-08-31 22:30 UTC (permalink / raw)
To: u-boot
I ran Software Update on my Fedora 13 system, and now whenever I build
U-Boot, I get a bunch of warnings like this:
dlmalloc.c: In function 'malloc':
dlmalloc.c:2252: warning: dereferencing pointer '({anonymous})' does break
strict-aliasing rules
dlmalloc.c:2252: note: initialized from here
dlmalloc.c:2261: warning: dereferencing pointer '({anonymous})' does break
strict-aliasing rules
dlmalloc.c:2261: warning: dereferencing pointer '({anonymous})' does break
strict-aliasing rules
dlmalloc.c:2261: warning: dereferencing pointer '({anonymous})' does break
strict-aliasing rules
dlmalloc.c:2261: note: initialized from here
dlmalloc.c:2268: warning: dereferencing pointer '({anonymous})' does break
strict-aliasing rules
dlmalloc.c:2268: warning: dereferencing pointer '({anonymous})' does break
strict-aliasing rules
dlmalloc.c:2268: warning: dereferencing pointer '({anonymous})' does break
strict-aliasing rules
dlmalloc.c:2268: note: initialized from here
dlmalloc.c:2325: warning: dereferencing pointer '({anonymous})' does break
strict-aliasing rules
dlmalloc.c:2325: warning: dereferencing pointer '({anonymous})' does break
strict-aliasing rules
dlmalloc.c:2325: warning: dereferencing pointer '({anonymous})' does break
strict-aliasing rules
dlmalloc.c:2325: note: initialized from here
Can anyone explain why this is happening? I don't understand how a Fedora
update would change anything, since my cross-compile toolchain is not
distributed with Fedora, so it shouldn't have changed.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
2010-08-31 22:30 [U-Boot] warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules Timur Tabi
@ 2010-09-01 17:01 ` Mike Frysinger
2010-09-02 1:27 ` Timur Tabi
0 siblings, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2010-09-01 17:01 UTC (permalink / raw)
To: u-boot
On Tuesday, August 31, 2010 18:30:39 Timur Tabi wrote:
> I ran Software Update on my Fedora 13 system, and now whenever I build
> U-Boot, I get a bunch of warnings like this:
what version of u-boot exactly ? for what board/architecture ? what is your
host gcc version and your target gcc version ? what is the exact compile line
that causes this warning to be displayed ? this is a pretty information-less
bug report ...
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100901/869f3309/attachment.pgp
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
2010-09-01 17:01 ` Mike Frysinger
@ 2010-09-02 1:27 ` Timur Tabi
2010-09-02 5:07 ` Mike Frysinger
0 siblings, 1 reply; 4+ messages in thread
From: Timur Tabi @ 2010-09-02 1:27 UTC (permalink / raw)
To: u-boot
On Wed, Sep 1, 2010 at 12:01 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> On Tuesday, August 31, 2010 18:30:39 Timur Tabi wrote:
>> I ran Software Update on my Fedora 13 system, and now whenever I build
>> U-Boot, I get a bunch of warnings like this:
>
> what version of u-boot exactly ?
Any recent version. Every version I've tried has this problem.
>?for what board/architecture ?
It appears to be any PowerPC board.
> what is your
> host gcc version and your target gcc version ?
$ gcc --version
gcc (GCC) 4.4.4 20100630 (Red Hat 4.4.4-10)
$ powerpc-linux-gnu-gcc --version
powerpc-linux-gnu-gcc (Sourcery G++ Lite 4.4-194) 4.4.1
> what is the exact compile line
> that causes this warning to be displayed ?
powerpc-linux-gnu-gcc -g -Os -mrelocatable -fPIC -meabi
-D__KERNEL__ -DTEXT_BASE=0xeff80000 -DRESET_VECTOR_ADDRESS=0xeffffffc
-I/home/b04825/git/u-boot.diu/include -fno-builtin -ffreestanding
-nostdinc -isystem
/opt/freescale/usr/local/gcc-4.4.194-eglibc-2.11.194/powerpc-linux-gnu/lib/gcc/powerpc-linux-gnu/4.4.1/include
-pipe -DCONFIG_PPC -D__powerpc__ -ffixed-r2 -Wa,-me500 -msoft-float
-mno-string -mspe=yes -mno-spe -Wall -Wstrict-prototypes
-fno-stack-protector \
-o dlmalloc.o dlmalloc.c -c
> this is a pretty information-less
> bug report ...
It's not a bug report. I was hoping that other people had already
seen this, since I'm not doing anything special.
--
Timur Tabi
Linux kernel developer at Freescale
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
2010-09-02 1:27 ` Timur Tabi
@ 2010-09-02 5:07 ` Mike Frysinger
0 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2010-09-02 5:07 UTC (permalink / raw)
To: u-boot
On Wednesday, September 01, 2010 21:27:24 Timur Tabi wrote:
> $ powerpc-linux-gnu-gcc --version
> powerpc-linux-gnu-gcc (Sourcery G++ Lite 4.4-194) 4.4.1
all gcc-4.4+ compilers should show similar output. your host should have
nothing to do with it.
searching the archives shows people working on it, but no satisfactory
solution. feel free to get it working.
the standard Blackfin release is currently based on 4.3.5 which is why i'm not
seeing it and i'm not worrying about it ;).
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100902/dc3ac33a/attachment.pgp
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-09-02 5:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-31 22:30 [U-Boot] warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules Timur Tabi
2010-09-01 17:01 ` Mike Frysinger
2010-09-02 1:27 ` Timur Tabi
2010-09-02 5:07 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox