This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building GCC 4.3.2 fails


Angel Tsankov wrote:
> Andrew Haley wrote:
>> Angel Tsankov wrote:
>>
>>> I'm trying to build GCC 4.3.2 (core, c++, and fortran). The
>>> configuration step (configure --prefix=...) seems to complete without
>>> problems, but during the build step (make -j 2 bootstrap) I get the
>>> following on stderr:
>>>
>>> configure: error:
>>> *** LIBRARY_PATH shouldn't contain the current directory when
>>> *** building gcc. Please change the environment variable
>>> *** and run configure again.
>>>
>>> LIBRARY_PATH contains the paths to GMP 4.2.1 and to MPFR2.3.0 only. I
>>> found out that clearing LIBRARY_PATH just before the build step
>>> takes me to another error:
>>>
>>> /home/angel/software/gcc/source/unpacked/gcc/dbgcnt.def:67: error:
>>> 'UINT_MAX' undeclared here (not in a function)
>>>
>>> Can any one help me build this version of GCC? I'm configuring and
>>> building in a separate directory and I've attached the console output
>>> from the configuration step in case it might help.
>> UINT_MAX should be defined in limits.h.
>>
>> Are you sure that it's installed?
>>
> Well, in fact glibc is not in the paths.  I tried installing glibc 2.7 but I 
> get
> 
> configure: error: compiler support for visibility attribute is required
> 
> even after applying the patch described here:
> 
> http://sourceware.org/ml/glibc-bugs/2007-07/msg00024.html

You shouldn't be recompiling glibc.  Install it as a binary
package.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]