public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
@ 2003-12-06 13:57 giovannibajo at libero dot it
  2003-12-06 13:57 ` [Bug c++/13334] " giovannibajo at libero dot it
                   ` (12 more replies)
  0 siblings, 13 replies; 15+ messages in thread
From: giovannibajo at libero dot it @ 2003-12-06 13:57 UTC (permalink / raw)
  To: gcc-bugs

Hello, 

I see this if I try to bootstrap with --disable-threads:

 /home/rasky/gcc/mainline/out/gcc/xgcc -B/home/rasky/gcc/mainline/out/gcc/ -
B/home/rasky/gcc/mainline/install//i686-pc-linux-gnu/bin/ -
B/home/rasky/gcc/mainline/install//i686-pc-linux-gnu/lib/ -
isystem /home/rasky/gcc/mainline/install//i686-pc-linux-gnu/include -
isystem /home/rasky/gcc/mainline/install//i686-pc-linux-gnu/sys-include -c -
DHAVE_CONFIG_H -O2 -O2 -fomit-frame-pointer -fstrict-aliasing -march=athlon-
tbird -mcpu=athlon-tbird -DNDEBUG -pipe -I. -
I../../../gcc/libiberty/../include  -W -Wall -Wtraditional -pedantic -
fpic ../../../gcc/libiberty/fibheap.c -o pic/fibheap.o; \
else true; fi
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
../../../gcc/libiberty/fibheap.c: In function `fibheap_delete_node':

../../../gcc/libiberty/fibheap.c:285: error: `LONG_MIN' undeclared (first use 
in this function)
../../../gcc/libiberty/fibheap.c:285: error: (Each undeclared identifier is 
reported only once
../../../gcc/libiberty/fibheap.c:285: error: for each function it appears in.)


rasky@trinity:~/gcc/mainline/out$ /home/rasky/gcc/mainline/out/gcc/xgcc -v
Reading specs from /home/rasky/gcc/mainline/install//lib/gcc/i686-pc-linux-
gnu/3.4/specs
Configured with: ../gcc/configure --prefix=/home/rasky/gcc/mainline/install/ --
enable-languages=c,c++,java --enable-shared --disable-threads --with-system-
zlib --enable-__cxa_atexit --disable-multilib
Thread model: single
gcc version 3.4 20031206 (experimental)


My binutils *IS* new:
rasky@trinity:~/gcc/mainline/out$ ld -v
GNU ld version 2.14.90.0.6 20030820


This bug has been reported a few times, on different systems, without 
satisfatory answers:
http://gcc.gnu.org/ml/gcc/2002-06/msg00922.html (powerpc-eabisim)
http://gcc.gnu.org/ml/gcc/2003-08/msg01634.html (on the cs-branch) (!)
PR/12708 (which was incorrectly closed as duplicate of this, but the user DID 
have a new binutils).

This system is RH9, btw.

-- 
           Summary: Bootstrap failure: libiberty/fibheap.c: LONG_MIN
                    undeclared
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: giovannibajo at libero dot it
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug c++/13334] Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
  2003-12-06 13:57 [Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared giovannibajo at libero dot it
@ 2003-12-06 13:57 ` giovannibajo at libero dot it
  2003-12-06 13:59 ` giovannibajo at libero dot it
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: giovannibajo at libero dot it @ 2003-12-06 13:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2003-12-06 13:57 -------
*** Bug 12708 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pj at csc dot fi


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug c++/13334] Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
  2003-12-06 13:57 [Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared giovannibajo at libero dot it
  2003-12-06 13:57 ` [Bug c++/13334] " giovannibajo at libero dot it
@ 2003-12-06 13:59 ` giovannibajo at libero dot it
  2003-12-06 21:17 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: giovannibajo at libero dot it @ 2003-12-06 13:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2003-12-06 13:59 -------
Sorry, I oviously meant that PR12708 is a duplicate of *this* bug, and was 
incorrectly closed as "you need new binutils".

-- 


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug c++/13334] Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
  2003-12-06 13:57 [Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared giovannibajo at libero dot it
  2003-12-06 13:57 ` [Bug c++/13334] " giovannibajo at libero dot it
  2003-12-06 13:59 ` giovannibajo at libero dot it
@ 2003-12-06 21:17 ` pinskia at gcc dot gnu dot org
  2003-12-07  1:36 ` [Bug web/13334] " giovannibajo at libero dot it
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-06 21:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-06 21:17 -------
Can you provide the preprocessed source file for fibheap.c?

-- 


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug web/13334] Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
  2003-12-06 13:57 [Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared giovannibajo at libero dot it
                   ` (2 preceding siblings ...)
  2003-12-06 21:17 ` pinskia at gcc dot gnu dot org
@ 2003-12-07  1:36 ` giovannibajo at libero dot it
  2003-12-07  1:44 ` [Bug bootstrap/13334] " pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: giovannibajo at libero dot it @ 2003-12-07  1:36 UTC (permalink / raw)
  To: gcc-bugs


------- 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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/13334] Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
  2003-12-06 13:57 [Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared giovannibajo at libero dot it
                   ` (3 preceding siblings ...)
  2003-12-07  1:36 ` [Bug web/13334] " giovannibajo at libero dot it
@ 2003-12-07  1:44 ` pinskia at gcc dot gnu dot org
  2003-12-07  1:55 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-07  1:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-07 01:44 -------
Not web but bootstrap and add documentation keyword.
I will make a patch tommorrow unless someone beats me to it.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|web                         |bootstrap
           Keywords|                            |documentation


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/13334] Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
  2003-12-06 13:57 [Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared giovannibajo at libero dot it
                   ` (4 preceding siblings ...)
  2003-12-07  1:44 ` [Bug bootstrap/13334] " pinskia at gcc dot gnu dot org
@ 2003-12-07  1:55 ` pinskia at gcc dot gnu dot org
  2004-01-29 21:37 ` meapague at hotmail dot com
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-07  1:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-07 01:55 -------
*** Bug 13330 has been marked as a duplicate of this bug. ***

-- 


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/13334] Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
  2003-12-06 13:57 [Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared giovannibajo at libero dot it
                   ` (5 preceding siblings ...)
  2003-12-07  1:55 ` pinskia at gcc dot gnu dot org
@ 2004-01-29 21:37 ` meapague at hotmail dot com
  2004-02-19 12:01 ` giovannibajo at libero dot it
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: meapague at hotmail dot com @ 2004-01-29 21:37 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From meapague at hotmail dot com  2004-01-29 21:37 -------
You're missing kernel-headers, I installed it and solved my problem

-- 


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/13334] Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
  2003-12-06 13:57 [Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared giovannibajo at libero dot it
                   ` (6 preceding siblings ...)
  2004-01-29 21:37 ` meapague at hotmail dot com
@ 2004-02-19 12:01 ` giovannibajo at libero dot it
  2004-05-28 22:58 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: giovannibajo at libero dot it @ 2004-02-19 12:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-02-19 12:00 -------
Andrew said he was going to take care of this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/13334] Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
  2003-12-06 13:57 [Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared giovannibajo at libero dot it
                   ` (7 preceding siblings ...)
  2004-02-19 12:01 ` giovannibajo at libero dot it
@ 2004-05-28 22:58 ` pinskia at gcc dot gnu dot org
  2004-06-18 16:19 ` giovannibajo at libero dot it
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-28 22:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-05-28 13:19 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-05/msg01817.html>.  Hopefully I did not have 
any typos in there.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/13334] Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
  2003-12-06 13:57 [Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared giovannibajo at libero dot it
                   ` (8 preceding siblings ...)
  2004-05-28 22:58 ` pinskia at gcc dot gnu dot org
@ 2004-06-18 16:19 ` giovannibajo at libero dot it
  2004-06-20 15:11 ` gerald at pfeifer dot com
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: giovannibajo at libero dot it @ 2004-06-18 16:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-06-18 16:19 -------
Gerald, would you please review and possibly approve this patch? Thanks.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gerald at pfeifer dot com


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/13334] Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
  2003-12-06 13:57 [Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared giovannibajo at libero dot it
                   ` (9 preceding siblings ...)
  2004-06-18 16:19 ` giovannibajo at libero dot it
@ 2004-06-20 15:11 ` gerald at pfeifer dot com
  2004-06-26 20:40 ` cvs-commit at gcc dot gnu dot org
  2004-06-26 20:42 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 15+ messages in thread
From: gerald at pfeifer dot com @ 2004-06-20 15:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gerald at pfeifer dot com  2004-06-20 15:11 -------
The patch looks fine, Andrew.  I just suggest two minor changes:

+Note that using non-standard @code{CFLAGS} can cause bootstrap to fail in
+@file{libiberty}, if these trigger a warning with the new compiler.  For
+example using @samp{-O2 -g -mcpu=i686} on @code{i686-pc-linux-gnu} will
+cause bootstrap failure as @code{-mcpu=} is deprecated in 3.4.0 and above.
+

-- 


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/13334] Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
  2003-12-06 13:57 [Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared giovannibajo at libero dot it
                   ` (10 preceding siblings ...)
  2004-06-20 15:11 ` gerald at pfeifer dot com
@ 2004-06-26 20:40 ` cvs-commit at gcc dot gnu dot org
  2004-06-26 20:42 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-06-26 20:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-06-26 20:40 -------
Subject: Bug 13334

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pinskia@gcc.gnu.org	2004-06-26 20:40:31

Modified files:
	gcc            : ChangeLog 
	gcc/doc        : install.texi 

Log message:
	2004-06-26  Andrew Pinski  <pinskia@physics.uc.edu>
	
	PR 13334
	* doc/install.texi: Document non-standard CFLAGS and bootstrap
	failures and warnings.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.4160&r2=2.4161
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/install.texi.diff?cvsroot=gcc&r1=1.293&r2=1.294



-- 


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/13334] Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
  2003-12-06 13:57 [Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared giovannibajo at libero dot it
                   ` (11 preceding siblings ...)
  2004-06-26 20:40 ` cvs-commit at gcc dot gnu dot org
@ 2004-06-26 20:42 ` pinskia at gcc dot gnu dot org
  12 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-26 20:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-26 20:42 -------
Fixed, Thanks Gerald for reviewing and sugessting some changes.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.5.0


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


^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug bootstrap/13334] Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
       [not found] <bug-13334-4@http.gcc.gnu.org/bugzilla/>
@ 2014-02-16 13:18 ` jackie.rosen at hushmail dot com
  0 siblings, 0 replies; 15+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 13:18 UTC (permalink / raw)
  To: gcc-bugs

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

Jackie Rosen <jackie.rosen at hushmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackie.rosen at hushmail dot com

--- Comment #14 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-02-16 13:18 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-06 13:57 [Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared giovannibajo at libero dot it
2003-12-06 13:57 ` [Bug c++/13334] " giovannibajo at libero dot it
2003-12-06 13:59 ` giovannibajo at libero dot it
2003-12-06 21:17 ` pinskia at gcc dot gnu dot org
2003-12-07  1:36 ` [Bug web/13334] " giovannibajo at libero dot it
2003-12-07  1:44 ` [Bug bootstrap/13334] " pinskia at gcc dot gnu dot org
2003-12-07  1:55 ` pinskia at gcc dot gnu dot org
2004-01-29 21:37 ` meapague at hotmail dot com
2004-02-19 12:01 ` giovannibajo at libero dot it
2004-05-28 22:58 ` pinskia at gcc dot gnu dot org
2004-06-18 16:19 ` giovannibajo at libero dot it
2004-06-20 15:11 ` gerald at pfeifer dot com
2004-06-26 20:40 ` cvs-commit at gcc dot gnu dot org
2004-06-26 20:42 ` pinskia at gcc dot gnu dot org
     [not found] <bug-13334-4@http.gcc.gnu.org/bugzilla/>
2014-02-16 13:18 ` jackie.rosen at hushmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).