On 03/06/2012 10:43 AM, Richard Guenther wrote:
On Mon, 5 Mar 2012, Ralf Corsépius wrote:

Hi,

The patch below addresses an issue with gcc-4.7.0 the issue I had reported in
http://gcc.gnu.org/ml/gcc/2012-03/msg00035.html

and somebody else had bz'ed as
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51417

Tested by cross-building gcc-4_7-branch for several *rtems targets on Fedora
16. Further test-builds are in progress.

No native build-testing, yet.

OK to apply?

Ok for trunk and the 4.7 branch if you've done one native build
and install successfully.

The patch seems to work for native build/install tests (Here fedora-16-x86_64):

# ../configure --disable-nls --prefix=/foo/bar --enable-languages=c,c++ --disable-multilib --with-system-zlib
# make
# make install DESTDIR=~/tmp/INSTALL

# cd ~/tmp/INSTALL
# ls -l foo/bar/bin/*
-rwxr-xr-x. 4 rtems rtems 2099206 Mar  7 08:51 foo/bar/bin/c++
-rwxr-xr-x. 1 rtems rtems 2096784 Mar  7 08:51 foo/bar/bin/cpp
-rwxr-xr-x. 4 rtems rtems 2099206 Mar  7 08:51 foo/bar/bin/g++
-rwxr-xr-x. 3 rtems rtems 2094252 Mar  7 08:51 foo/bar/bin/gcc
-rwxr-xr-x. 2 rtems rtems  113695 Mar  7 08:51 foo/bar/bin/gcc-ar
-rwxr-xr-x. 2 rtems rtems  113631 Mar  7 08:51 foo/bar/bin/gcc-nm
-rwxr-xr-x. 2 rtems rtems  113643 Mar  7 08:51 foo/bar/bin/gcc-ranlib
-rwxr-xr-x. 1 rtems rtems 1064274 Mar  7 08:51 foo/bar/bin/gcov
-rwxr-xr-x. 4 rtems rtems 2099206 Mar 7 08:51 foo/bar/bin/x86_64-unknown-linux-gnu-c++ -rwxr-xr-x. 4 rtems rtems 2099206 Mar 7 08:51 foo/bar/bin/x86_64-unknown-linux-gnu-g++ -rwxr-xr-x. 3 rtems rtems 2094252 Mar 7 08:51 foo/bar/bin/x86_64-unknown-linux-gnu-gcc -rwxr-xr-x. 3 rtems rtems 2094252 Mar 7 08:51 foo/bar/bin/x86_64-unknown-linux-gnu-gcc-4.7.0 -rwxr-xr-x. 2 rtems rtems 113695 Mar 7 08:51 foo/bar/bin/x86_64-unknown-linux-gnu-gcc-ar -rwxr-xr-x. 2 rtems rtems 113631 Mar 7 08:51 foo/bar/bin/x86_64-unknown-linux-gnu-gcc-nm -rwxr-xr-x. 2 rtems rtems 113643 Mar 7 08:51 foo/bar/bin/x86_64-unknown-linux-gnu-gcc-ranlib

Ralf

Reply via email to