Unable to compile GCC 5.2.0 on Debian 7

Victor Rodriguez vm.rod25@gmail.com
Mon Aug 17 14:03:00 GMT 2015

On Sun, Aug 16, 2015 at 12:26 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 16 August 2015 at 02:46,  <admin@mdtech.us> wrote:
>> Why is this happening, and most importaintly, how do I fix it?
> Unless you tell us how you configured GCC we have no idea what
> commands you've run and so would only be guessing why that might be
> happening.

Hi Maxweel this is the configure we have in Clera Linux :


# Live in the gcc source tree
tar xf %{SOURCE1} && ln -sf isl-%{isl_version} isl

mkdir ../gcc-build
pushd ../gcc-build
unset CFLAGS
export CFLAGS="-march=ivybridge -g -O2 -fstack-protector -Wl,-z
-Wl,now -Wl,-z -Wl,relro  -Wl,-z,max-page-size=0x1000"
export CXXFLAGS="-march=ivybridge -g -O2  -Wl,-z,max-page-size=0x1000"

export CPATH=%{_includedir}
export LIBRARY_PATH=%{_libdir}

../%{name}-%{version}/configure \
    --prefix=%{_prefix} \
    --with-pkgversion='Clear Linux OS for Intel Architecture'\
    --libdir=%{_libdir} \
    --libexecdir=%{_libdir} \
    --enable-linker-build-id \
    --enable-languages="c,c++,fortran" \
    --enable-bootstrap \
    --with-ppl=no \
    --includedir=%{_includedir} \
    --with-gxx-include-dir=%{_includedir}/c++/ \
    --exec-prefix=%{_prefix} \
    --with-glibc-version=2.19 \
    --with-system-libunwind \
    --with-gnu-ld \
    --with-tune=haswell \
    --with-arch=ivybridge \

make %{?_smp_mflags}


You can clone the entire spec file from here:

git clone git://kojiclear.jf.intel.com/packages/gcc

Or the SRPM:


More information about the Gcc-help mailing list