Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 1339] New: Busybox needs -fno-stric-aliasing to compile cleanly
@ 2010-03-17 15:38 bugzilla at busybox.net
  2010-03-17 15:39 ` [Buildroot] [Bug 1339] Busybox needs -fno-strict-aliasing " bugzilla at busybox.net
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2010-03-17 15:38 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=1339

              Host: Gentoo Linux
            Target: Atmel ARM9
             Build: 2010.2
           Summary: Busybox needs -fno-stric-aliasing to compile cleanly
           Product: buildroot
           Version: 2010.02
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: grant.b.edwards at gmail.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Created an attachment (id=1315)
 --> (https://bugs.busybox.net/attachment.cgi?id=1315)
Fix strick-aliasing compiler warnings

When busybox is compiled (with gcc 4.4.3), there are thousands of
compiler warnings about code that is breaking the strict aliasing
rules that must be followed if -O2 or greater optimization level is to
be used.

Adding -fno-strict-aliasing to CFLAGS fixes this problem.

Patch is attached.


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 1339] Busybox needs -fno-strict-aliasing to compile cleanly
  2010-03-17 15:38 [Buildroot] [Bug 1339] New: Busybox needs -fno-stric-aliasing to compile cleanly bugzilla at busybox.net
@ 2010-03-17 15:39 ` bugzilla at busybox.net
  2010-03-17 15:39 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2010-03-17 15:39 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=1339


Grant Edwards <grant.b.edwards@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Busybox needs -fno-stric-   |Busybox needs -fno-strict-
                   |aliasing to compile cleanly |aliasing to compile cleanly




-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 1339] Busybox needs -fno-strict-aliasing to compile cleanly
  2010-03-17 15:38 [Buildroot] [Bug 1339] New: Busybox needs -fno-stric-aliasing to compile cleanly bugzilla at busybox.net
  2010-03-17 15:39 ` [Buildroot] [Bug 1339] Busybox needs -fno-strict-aliasing " bugzilla at busybox.net
@ 2010-03-17 15:39 ` bugzilla at busybox.net
  2010-04-09 14:54 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2010-03-17 15:39 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=1339


Grant Edwards <grant.b.edwards@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1315|Fix strick-aliasing compiler|Fix strict-aliasing compiler
        description|warnings                    |warnings




-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 1339] Busybox needs -fno-strict-aliasing to compile cleanly
  2010-03-17 15:38 [Buildroot] [Bug 1339] New: Busybox needs -fno-stric-aliasing to compile cleanly bugzilla at busybox.net
  2010-03-17 15:39 ` [Buildroot] [Bug 1339] Busybox needs -fno-strict-aliasing " bugzilla at busybox.net
  2010-03-17 15:39 ` bugzilla at busybox.net
@ 2010-04-09 14:54 ` bugzilla at busybox.net
  2010-07-18 19:15 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2010-04-09 14:54 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=1339


Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2010.05




-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 1339] Busybox needs -fno-strict-aliasing to compile cleanly
  2010-03-17 15:38 [Buildroot] [Bug 1339] New: Busybox needs -fno-stric-aliasing to compile cleanly bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2010-04-09 14:54 ` bugzilla at busybox.net
@ 2010-07-18 19:15 ` bugzilla at busybox.net
  2010-07-18 20:14 ` bugzilla at busybox.net
  2010-07-22 15:12 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2010-07-18 19:15 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=1339

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  ---
I'd rather say that this issue should be fixed at the Busybox level rather than
in Buildroot. Peter, your opinion ?

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 1339] Busybox needs -fno-strict-aliasing to compile cleanly
  2010-03-17 15:38 [Buildroot] [Bug 1339] New: Busybox needs -fno-stric-aliasing to compile cleanly bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2010-07-18 19:15 ` bugzilla at busybox.net
@ 2010-07-18 20:14 ` bugzilla at busybox.net
  2010-07-22 15:12 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2010-07-18 20:14 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=1339

--- Comment #2 from Peter Korsgaard <jacmet@uclibc.org>  ---
(In reply to comment #1)
> I'd rather say that this issue should be fixed at the Busybox level rather than
> in Buildroot. Peter, your opinion ?

Yes. And as they are just warnings and not errors it isn't a big problem.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [Bug 1339] Busybox needs -fno-strict-aliasing to compile cleanly
  2010-03-17 15:38 [Buildroot] [Bug 1339] New: Busybox needs -fno-stric-aliasing to compile cleanly bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2010-07-18 20:14 ` bugzilla at busybox.net
@ 2010-07-22 15:12 ` bugzilla at busybox.net
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2010-07-22 15:12 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=1339

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  ---
Therefore, marked as invalid.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-07-22 15:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-17 15:38 [Buildroot] [Bug 1339] New: Busybox needs -fno-stric-aliasing to compile cleanly bugzilla at busybox.net
2010-03-17 15:39 ` [Buildroot] [Bug 1339] Busybox needs -fno-strict-aliasing " bugzilla at busybox.net
2010-03-17 15:39 ` bugzilla at busybox.net
2010-04-09 14:54 ` bugzilla at busybox.net
2010-07-18 19:15 ` bugzilla at busybox.net
2010-07-18 20:14 ` bugzilla at busybox.net
2010-07-22 15:12 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox