Table of Contents
This section documents Sourcery CodeBench Lite changes for each released revision.
GCC version 4.7.3.
Sourcery CodeBench Lite for ARM GNU/Linux is now based on GCC
version 4.7.3. This update incorporates numerous bug fixes.
For more information, see
http://gcc.gnu.org/gcc-4.7/changes.html.
Installer warnings fixed.
A bug that caused Gtk warnings relating to
libappmenu.so when running the installer
on 64-bit Ubuntu GNU/Linux hosts has been fixed.
New GLIBC macro issignaling.
A new <math.h> macro
named issignaling to check for a signaling Not a
Number (sNaN) has been added to GLIBC. Please see the manual for
further information.
Pointer comparison bug fixed. A bug in GCC that caused it to incorrectly optimize away a pointer comparison has been fixed.
Atomic operations.
A bug has been fixed that caused several built-in atomic functions
(e.g. __sync_val_compare_and_swap) to
operate incorrectly with char or short
arguments when compiled for architecture versions earlier
than ARMv7.
Incorrect optimization bug fix.
A compiler bug has been fixed that caused incorrect code to be
generated for some comparisons unless optimization was suppressed
with -fno-forward-propagate.
Performance regression fixed. A bug that introduced unnecessary instructions to
zero-extend unsigned char or short values
has been fixed.
Linker raw binary input crash fix.
A bug that caused the linker to crash when linking binary
inputs (--format=binary) while using
--gc-sections has been fixed.
Linker assertion failure fix. A linker bug has been fixed that caused an assertion failure when linking unoptimized code using thread-local storage.
ldralt assembly bug fix.
A bug that caused the assembly of ldralt
instructions to sometimes produce the error message
selected processor does not support ARM mode
has been fixed.
Binutils update. The binutils package has been updated to version 2.23.52.20130219 from the FSF trunk. This update includes numerous bug fixes.
Installing multiple targets in one directory. Due to changes in the installer, Sourcery CodeBench Lite for ARM GNU/Linux can no longer be installed into a directory already containing an existing Sourcery CodeBench installation for a different target. The installer detects this situation and asks you to select a different directory.
Fix for installer upgrade problems. Sourcery CodeBench Lite for ARM GNU/Linux can now be installed into a directory already containing a previous version.
EGLIBC version 2.17.
Sourcery CodeBench Lite for ARM GNU/Linux now includes EGLIBC version 2.17
library which is based on GNU C Library version 2.17.
For more information about changes, see
http://www.eglibc.org/news#eglibc_2_17.
Linux kernel headers update. Linux kernel header files have been updated to version 3.8.2.
Improved source line stepping.
GDB and gdbserver now implement range stepping,
which improves the performance of single stepping over a source
line by reducing the number of control messages from GDB.
GDB hang fix. A bug that caused GDB to sometimes hang when setting a breakpoint has been fixed.
Code size optimization improvement.
When compiling with -Os or -O2
and higher GCC no longer enables the -funroll-loops
option by default. This change reduces the size of optimized code
produced by Sourcery CodeBench and brings its behavior back into conformance
with other GCC distributions.
For more information about the tradeoffs between optimizing for
size versus speed please see the
Sourcery CodeBench Knowledge Base
.
Loop optimization bug fix.
A compiler bug that caused some forms
of loop to be mis-optimized when using the
-fpromote-loop-indices option
(enabled by default when optimizing for
speed) has been fixed.
Wrong-code bug fix. A bug in GCC's scheduler has been fixed that sometimes caused incorrect code to be generated.
Install to empty directory failure fixed. A bug that prevented installation of Sourcery CodeBench Lite into an existing empty directory has been fixed.
Misleading GDB warning fixed. A bug has been fixed that formerly caused GDB to display a warning about being unable to load symbols for ELF libraries that are contained in the Linux kernel itself.
Updated system requirements. The host operating system requirements for Sourcery CodeBench Lite have been updated. The minimum versions of GNU/Linux now supported are Red Hat Enterprise Linux 5, SuSE Enterprise Linux 10, Fedora Core 6, Ubuntu 8.04, and Debian 5, or later versions of these distributions running on 32-bit or 64-bit Intel or AMD CPUs.
No significant changes. There are no significant changes for ARM GNU/Linux in this release.
GCC version 4.7.2.
Sourcery CodeBench Lite for ARM GNU/Linux is now based on GCC
version 4.7.2. For more information about changes from GCC
version 4.6 that was included in previous releases, see
http://gcc.gnu.org/gcc-4.7/changes.html.
Select correct multilib for -mcpu=cortex-a15
.
A GCC bug has been fixed that caused an incorrect multilib to
be selected when compiling with -mcpu=cortex-a15.
Incorrect warnings for naked functions fixed.
A bug in the C++ compiler has been fixed that caused it to
incorrectly warn about missing return statements in functions
with the naked attribute, which can only include
inline assembly statements.
Linker script symbols.
The linker now supports a new HIDDEN keyword to define
symbols with object scope. Refer to the linker manual for details.
Binutils version 2.23. Sourcery CodeBench Lite for ARM GNU/Linux is now based on binutils version 2.23.
EGLIBC version 2.16.
Sourcery CodeBench Lite for ARM GNU/Linux now includes EGLIBC version 2.16
library which is based on GNU C Library version 2.16.
For more information about changes, see
http://www.eglibc.org/news#eglibc_2_16.
Linux kernel headers update. Linux kernel header files have been updated to version 3.5.4.
GDB update.
The included version of GDB has been updated to
7.4.50.20120716. This update adds numerous bug fixes and
features. Refer to http://www.gnu.org/software/gdb/news
for more information.
Removal of the Sourcery CodeBench Debug Sprite. The Sourcery CodeBench Debug Sprite has been removed.
New Sourcery CodeBench Lite branding. Sourcery G++ has been renamed to Sourcery CodeBench. This change affects the names of the default installation directory and installer-created shortcuts, but no internal pathnames or tool names within the installation directory have been changed.
Fix for internal compiler error.
A bug that caused GCC to report an internal compiler error in
push_minipool_fix has been fixed.
Internal compiler error with NEON intrinsics. A compiler bug has been fixed that caused internal compiler errors when using certain NEON intrinsics.
Nondeterministic code generation bug fix. A GCC bug has been fixed that caused nondeterministic code generation for some input files when optimizing.
Fix for compiler hang. A bug that caused GCC to become stuck in an infinite loop in the optimizer has been fixed.
Internal compiler error. A GCC bug has been fixed that caused an internal compiler error when sign extending the result of an array subscript expression with an index greater than 255.
GCC version 4.6.
Sourcery CodeBench Lite for ARM GNU/Linux is now based on GCC
version 4.6. For more information about changes from GCC
version 4.5 that was included in previous releases, see
http://gcc.gnu.org/gcc-4.6/changes.html.
Fix for internal compiler error.
A GCC bug has been fixed that caused an internal compiler
error when using pointer casts in C++0x constexpr
initialization expressions.
ARM VFP9-S errata workaround. A compiler workaround for ARM Errata Notice GENC-010704 (760019: Canceled FDIV or FSQRT can be executed twice) has been implemented.
Fix for bit-field optimization bug. A compiler bug that caused incorrect code to be generated for programs using bit-fields has been fixed.
GCC version 4.6.3.
Sourcery CodeBench Lite for ARM GNU/Linux is now based on GCC
version 4.6.3. For more information about issues that
have been fixed since version 4.6.1, see
http://gcc.gnu.org/gcc-4.6/changes.html.
Compiler crash fixed. A GCC bug that occasionally caused an internal compiler error during register allocation has been fixed.
Map file name demangling bug fix.
GCC now properly passes the
--demangle and --no-demangle
options to the linker to control map file output. The default
behavior on all hosts is now to demangle C++ names.
GCC stack usage improvement.
GCC now generates better code for stack allocation in some
cases when compiling with -fno-strict-aliasing.
ARM miscompilation fix.
A bug has been fixed that caused miscompilation of some
expressions involving the minimum or maximum idiom, such as
(a > 0) ? a : 0.
Register allocation bug fix. A bug in the register allocator that caused incorrect code generation has been fixed.
Linker COMDAT group code size optimization.
The linker supports a new option -Wl,--shared-comdat
that causes it to resolve COMDAT group symbols to definitions
provided by shared libraries when possible, discarding any
duplicate definitions of the group in relocatable files included
in the link.
This optimization can produce smaller C++ executables and shared
libraries at the expense of additional runtime overhead.
Linker --gc-sections option bug fix.
A bug has been fixed that caused the linker to incorrectly
remove the .debug_types section when using the
--gc-sections option.
Linker --gc-sections bug fix.
A linker bug that incorrectly caused undefined references to be
diagnosed when the --gc-sections option is used
has been fixed.
Binutils version 2.21. Sourcery CodeBench Lite for ARM GNU/Linux is now based on binutils version 2.21.
Assembler crash.
The assembler now warns when there is line information for
the *ABS* section, rather than crash.
This can occur when the .offset directive is
used incorrectly.
Installer failure during upgrade.
Some recent releases were affected by an installer bug
on Windows hosts that caused installing a newer version of
Sourcery CodeBench Lite into the same directory to fail with the error
Sourcery CodeBench Lite for ARM GNU/Linux upgrade failed.
This bug has now been fixed, but the affected releases cannot be
upgraded. As a workaround, uninstall the older release before
installing the new version.
Freescale i.MX53 QSB support. Sourcery CodeBench Lite now supports the Freescale i.MX53 QSB board.
RPC library functions. GLIBC has been changed so that programs may again be built to use its RPC library functions. The ability to build programs using these functions had previously been disabled.
zic bug fix.
A bug has been fixed in GLIBC's zic
command (included in the target sysroot) that
caused too many transitions errors on
some valid input files.
EGLIBC version 2.15.
Sourcery CodeBench Lite for ARM GNU/Linux now includes EGLIBC version 2.15
library which is based on GNU C Library version 2.15.
For more information about changes, see
http://www.eglibc.org/news#eglibc_2_15.
Linux kernel headers update. Linux kernel header files have been updated to version 2.6.39.
Linux kernel headers update. Linux kernel header files have been updated to version 3.0.1.
Linux kernel headers update. Linux kernel header files have been updated to version 3.2.10.
Fix for crash in GDB maint print arch.
A bug in the GDB command maint print arch
that sometimes caused GDB to crash has been fixed.
C++ debugging bug fix.
A GDB bug has been fixed that caused GDB to fail to
find enum constants in base classes when
debugging C++ code.
Fix for crash in GDB.
A memory corruption bug in GDB has been fixed that under very rare
circumstances made it crash or exhibit other unpredictable behavior.
On GNU/Linux hosts, this bug caused crashes with an error message
similar to: *** glibc detected *** arm-none-linux-gnueabi-gdb:
free(): invalid next size (normal): 0x09466198 ***
followed by a backtrace.
GDB interrupt handling bug fix. A bug in GDB has been fixed that caused it to sometimes fail to interrupt lengthy single-step operations (as by a Ctrl+C when using GDB from the command line).
Fix debugger remote target interruption. A bug in GDB's handling of requests to interrupt execution on a remote target has been fixed that caused it to stop the target but not emit a stopped MI record.
Fix GDB crash during connection to debug agent. A bug has been fixed that caused GDB to crash while connecting to any debug agent through standard IO where the debug agent had detected an early error and terminated the communication.
GDB internal error fix.
A bug has been fixed that caused GDB to produce messages of
the form: warning: (Internal error: pc 0x1000a0 in
read in psymtab, but not in symtab.)
when taking the addresses of symbols from objects added with
the add-symbol-file command.
Improved disassembler performance in the debugger. GDB's disassembler has been improved to use more efficient memory access on remote targets.
Fix GDB crash in debugging Thumb assembly routines. A bug in GDB has been fixed that caused a crash when debugging Thumb assembly routines that switch stacks by writing the stack pointer in the function prologue.
Debug Sprite option defaults. The Sourcery CodeBench Debug Sprite now uses default option values specified in board configuration files. Options included in the device URL override the default values.
Changes to host operating system requirements. The minimum required Microsoft Windows OS needed to run Sourcery CodeBench Lite is now Windows XP (SP1).