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

bootstrap/7379: compiling ltdl.c caught in endless look


>Number:         7379
>Category:       bootstrap
>Synopsis:       compiling ltdl.c caught in endless look
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 22 16:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Drepper
>Release:        gcc trunk as of 2002-7-22
>Organization:
>Environment:
Linux x86
>Description:
Bootstrapping the current trunk sources fails if CFLAGS contains -march=pentium4 (all lower architecture classes work).  The compiler seems to be caught in an endless loop and only finishes when all memory is exhausted (>2 GB in my case).

The file in question is gcc/libjava/libltdl/ltdl.c.
>How-To-Repeat:
I don't think it's necessary to attach a file.  The stock sources will be.  Just run

  make CFLAGS="-O2 -march=pentium4 -g"

It's probably possible to build the compiler normally and use it to compile ltdl.c then.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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