gcc: don't clobber stamp-bits with a symlink to itself
authorFelix Fietkau <nbd@openwrt.org>
Fri, 12 Dec 2014 17:01:57 +0000 (17:01 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 12 Dec 2014 17:01:57 +0000 (17:01 +0000)
commitf8772209730f182959164ee29f5f7c488b573180
tree70033eef376f70ae32c7c71fdf212602bff06606
parent171f3274a4a11cfdc15ab9f181fcdb6d15d8cbbd
gcc: don't clobber stamp-bits with a symlink to itself

Several versions of gcc have an issue in libstdc++v3 where the build may
clobber stamp-bits with a link to itself.  This doesn't manifest itself
on all systems.  On several Ubuntu systems, this doesn't appear to be a
problem, but it is an issue on Fedora 16 systems.

To fix the issue, we'll simply filter out stamp-bits from the symlinks
to be generated.

Note: gcc 4.4.7 is unaffected by this issue, so no fix is necessary
there.

Signed-off-by: John Szakmeister <john@szakmeister.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43669 3c298f89-4303-0410-b956-a3cf2f4a3e73
toolchain/gcc/patches/4.6-linaro/940-no-clobber-stamp-bits.patch [new file with mode: 0644]
toolchain/gcc/patches/4.8-linaro/940-no-clobber-stamp-bits.patch [new file with mode: 0644]
toolchain/gcc/patches/4.9-linaro/940-no-clobber-stamp-bits.patch [new file with mode: 0644]