* [Buildroot] [Bug 8496] New: Toolchain -> Target Optimizations ignored & not applied.
@ 2015-11-29 20:36 bugzilla at busybox.net
2015-11-29 23:01 ` [Buildroot] [Bug 8496] " bugzilla at busybox.net
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2015-11-29 20:36 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8496
Summary: Toolchain -> Target Optimizations ignored & not
applied.
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: brandurs at yahoo.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
With the entry "(-mtune=xscale) Target Optimizations" for arm926ej-s
The package configuration ignores "Target Optimizations" settings
CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 "
CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2
"
--
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] 4+ messages in thread
* [Buildroot] [Bug 8496] Toolchain -> Target Optimizations ignored & not applied.
2015-11-29 20:36 [Buildroot] [Bug 8496] New: Toolchain -> Target Optimizations ignored & not applied bugzilla at busybox.net
@ 2015-11-29 23:01 ` bugzilla at busybox.net
2015-11-30 13:51 ` bugzilla at busybox.net
2015-11-30 22:30 ` bugzilla at busybox.net
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2015-11-29 23:01 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8496
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2015-11-29 23:01:28 UTC ---
An option like -mtune should *not* be passed in "Target optimization". The
march, mcpu and mtune options are all defined automatically depending on the
value you specify in the "Target options" menu, where you select the
architecture and architecture variant. Select xscale there and you're all set.
Also, the reason why you don't see -mcpu, -mtune and so on is because they are
automatically passed by our toolchain wrapper, so they are hidden. Or if you
are using an internal toolchain, then the toolchain is configured to build
binaries for the specified target, so there is no need to pass mcpu/mtune/march
when invoking the compiler.
--
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] 4+ messages in thread
* [Buildroot] [Bug 8496] Toolchain -> Target Optimizations ignored & not applied.
2015-11-29 20:36 [Buildroot] [Bug 8496] New: Toolchain -> Target Optimizations ignored & not applied bugzilla at busybox.net
2015-11-29 23:01 ` [Buildroot] [Bug 8496] " bugzilla at busybox.net
@ 2015-11-30 13:51 ` bugzilla at busybox.net
2015-11-30 22:30 ` bugzilla at busybox.net
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2015-11-30 13:51 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8496
brandurs at yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|WORKSFORME |
--- Comment #2 from brandurs at yahoo.com 2015-11-30 13:51:46 UTC ---
Apparently no "Target Optimizations" are applied to the CFLAGS and CXXFLAGS,
but "Target Linker Options" are applied to LDFLAGS. ?
Is this a white flag to red flags?
"-mtune=xscale" was an example, my documentation states armv5te compatible with
xscale core, and I follow that advice. But that fact is irrelevant in this
bug-report.
Other uses could be "-flto -fgraphite-identity". These flags are apparently not
applied to CFLAGS or the compilation. None are.
--
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] 4+ messages in thread
* [Buildroot] [Bug 8496] Toolchain -> Target Optimizations ignored & not applied.
2015-11-29 20:36 [Buildroot] [Bug 8496] New: Toolchain -> Target Optimizations ignored & not applied bugzilla at busybox.net
2015-11-29 23:01 ` [Buildroot] [Bug 8496] " bugzilla at busybox.net
2015-11-30 13:51 ` bugzilla at busybox.net
@ 2015-11-30 22:30 ` bugzilla at busybox.net
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2015-11-30 22:30 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8496
Arnout Vandecappelle <arnout@mind.be> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |WORKSFORME
--- Comment #3 from Arnout Vandecappelle <arnout@mind.be> 2015-11-30 22:30:09 UTC ---
In 2015.11-rcX, you no longer see the "Target Optimizations" in the
TARGET_CFLAGS because they are handled by the toolchain wrapper. To see exactly
which options are passed to gcc, set BR2_DEBUG_WRAPPER=1 in the environment.
If you still believe this is not working, please provide:
- the buildroot version you are using;
- a small defconfig that exposes the problem;
- some proof that the flags really are not passed to gcc.
--
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] 4+ messages in thread
end of thread, other threads:[~2015-11-30 22:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-29 20:36 [Buildroot] [Bug 8496] New: Toolchain -> Target Optimizations ignored & not applied bugzilla at busybox.net
2015-11-29 23:01 ` [Buildroot] [Bug 8496] " bugzilla at busybox.net
2015-11-30 13:51 ` bugzilla at busybox.net
2015-11-30 22:30 ` 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