ThirdParty: gcc 4.8.4 and gcc 4.9.2.
We are fixing here a relatively old bug related to the compilation of gmp as an internal package of gcc. Basically, gcc is using an oldish version of gmp. This fix is correcting a well-known configuration error when gmp is compiled as an internal package to gcc. The bug do manifest itself under Centos 6.2.
This commit is contained in:
parent
ecbb9f3212
commit
7d236049a5
2 changed files with 22 additions and 0 deletions
11
ThirdParty/rpmBuild/SPECS/gcc-4.8.4.spec
vendored
11
ThirdParty/rpmBuild/SPECS/gcc-4.8.4.spec
vendored
|
@ -97,6 +97,17 @@ Group: Development/Tools
|
|||
# Download prequisite libraries
|
||||
./contrib/download_prerequisites
|
||||
|
||||
# Fixing an old bug related to gmp and m4 and gcc
|
||||
# See https://gmplib.org/list-archives/gmp-bugs/2008-August/001114.html
|
||||
# This bug will occur when compiling gmp as an internal gcc package.
|
||||
# This bug will occur on Centos 6.2. and probably on other OSes as well
|
||||
cp gmp/configure.in gmp/configure.in.orig
|
||||
cp gmp/configure gmp/configure.orig
|
||||
sed "s/m4-not-needed/m4/g" gmp/configure.in > gmp/configure.in.patched
|
||||
sed "s/m4-not-needed/m4/g" gmp/configure > gmp/configure.patched
|
||||
mv gmp/configure.in.patched gmp/configure.in
|
||||
mv gmp/configure.patched gmp/configure
|
||||
|
||||
# Create working directory
|
||||
mkdir ./objBuildDir
|
||||
cd ./objBuildDir
|
||||
|
|
11
ThirdParty/rpmBuild/SPECS/gcc-4.9.2.spec
vendored
11
ThirdParty/rpmBuild/SPECS/gcc-4.9.2.spec
vendored
|
@ -97,6 +97,17 @@ Group: Development/Tools
|
|||
# Download prequisite libraries
|
||||
./contrib/download_prerequisites
|
||||
|
||||
# Fixing an old bug related to gmp and m4 and gcc
|
||||
# See https://gmplib.org/list-archives/gmp-bugs/2008-August/001114.html
|
||||
# This bug will occur when compiling gmp as an internal gcc package.
|
||||
# This bug will occur on Centos 6.2. and probably on other OSes as well
|
||||
cp gmp/configure.in gmp/configure.in.orig
|
||||
cp gmp/configure gmp/configure.orig
|
||||
sed "s/m4-not-needed/m4/g" gmp/configure.in > gmp/configure.in.patched
|
||||
sed "s/m4-not-needed/m4/g" gmp/configure > gmp/configure.patched
|
||||
mv gmp/configure.in.patched gmp/configure.in
|
||||
mv gmp/configure.patched gmp/configure
|
||||
|
||||
# Create working directory
|
||||
mkdir ./objBuildDir
|
||||
cd ./objBuildDir
|
||||
|
|
Reference in a new issue