This is the mail archive of the gcc-bugs@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]

[Bug web/13334] Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared


------- Additional Comments From giovannibajo at libero dot it  2003-12-07 01:36 -------
It turned out to be a problem with non-standard CFLAGS/CXXFLAGS set.

I think the website (http://gcc.gnu.org/install/build.html) does not document 
properly that CFLAGS/CXXFLAGS are used for bootstrap of target components 
(libiberty, v3, libjava, etc.). I think it should be updated to include 
something like:

"Notice that CFLAGS and CXXFLAGS are used during the last part of GCC bootstrap 
(for target libraries like libjava or libstdc++). If bootstrap fails at that 
point, you might try to remove those variables from your environment and try 
again. In this case, remove your builddir and restart from scratch."

The last sentence has been added because I tried a 'make cleanstrap' after 
having removed the flags and it was not sufficient (the makefiles were already 
generated probably). Maybe there is a better and faster to accomplish this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|c++                         |web
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-12-07 01:36:27
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13334


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