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 bootstrap/57292] New: Failure in build after stage 3, concerning libitm.la


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

            Bug ID: 57292
           Summary: Failure in build after stage 3, concerning libitm.la
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ExtraLeveLInSoftware at ntlworld dot com

Failure in build after stage 3 of gcc-4.7.2

To: gcc-bugs

1. Introduction

    Trying to build gcc-4.7.2.

    Running Mac OS X:

 System Version:    Mac OS X 10.5.8 (9L30)
 Kernel Version:    Darwin 9.8.0
 >uname -mpv
 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009;
root:xnu-1228.15.4~1/RELEASE_I386 i386 i386

    This bug report concerns the following point.

  - An error reported by make after stage 3, concerning libitm.la


2. Report from configure

    The existing compilation system for stage 1 was obtained as a
ready built version of ada-4.3 in /usr/local/ada-4.3/bin/ (however, it
reports that it is 4.4.0)

bash> gcc --version
gcc (GCC) 4.4.0 20080314 (experimental) [trunk revision 133226]
Copyright (C) 2008 Free Software Foundation, Inc.

    Building in /Gnu/gcc/obj.  Sources in /Gnu/gcc/src/gcc-4.7.2/.

    The configure command was
../src/gcc-4.7.2/gcc-4.7.2/configure --enable-languages=ada,c,c++ 

    This completed OK.


3. An error reported by make

    Ran make &> ../logs/make-8.log

    The make failed, with last few messages described below.

    The build has passed stage 3, but failed later.

    Completed stage3, got to
"Comparing stages 2 and 3", gave:
Comparing stages 2 and 3
warning: gcc/cc1-checksum.o differs
warning: gcc/cc1plus-checksum.o differs
Comparison successful.

    It continued after this, but gave final error:
ld: warning in ../../../src/gcc-4.7.2/libitm/clearcap.map, file is not of
required architecture
ld: pointer in read-only segment not allowed in slidable image, used in
_del_opvnt from .libs/alloc_cpp.o
collect2: error: ld returned 1 exit status
make[4]: *** [libitm.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libitm] Error 2
make: *** [all] Error 2

    The current situation seems to be that I have built the entire stage 3,
but that the step "Build runtime libraries using the stage3 compiler from the
previous step." has failed.


4. Information from the gcc-help mailing list

    Help was sought from the gcc-help mailing list (see:
13 May 2013 , Re: Ongoing Error in make stage2 building gcc-4.7.2)


On 13 May 2013, at 14:43, Ian Lance Taylor wrote:

It looks like the code is trying to use a linker map, which is not going to
work with the Darwin linker.  This looks like a bug in the libitm configury.
I don't see it in the current bug database; please consider filing a bug
report.


On 13 May 2013, at 15:43, Richard Henderson wrote:

That linker map is for Solaris.  I have no idea how that might have come to be
used for Darwin.

r~


5. Other related Information

    In order to complete the stages 2 and 3 builds, it was necessary to
modify libcpp/config.h in both stages 2 and 3 to circumvent a problem in
libcpp/lex.c with "Unknown pseudo-op: .balign".  (Subject of a separate bug
report, 57291.)

    This is not believed to be connected, but is stated just in case.


6. Summary of Bug

6.1 Error in ld

    Following stage three, presumably in the step "Build runtime libraries
using the stage3 compiler from the previous step.", make has failed with
make[4]: *** [libitm.la] Error 1

    See also extra messages above.


6.2     If extra information about the matters reported above would be of value
please contact:

    ExtraLeveLInSoftware at ntlworld dot com

Ellis N. Thomas/15-May-2013


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