public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/57292] New: Failure in build after stage 3, concerning libitm.la
@ 2013-05-15 15:13 ExtraLeveLInSoftware at ntlworld dot com
  2013-06-20 10:11 ` [Bug bootstrap/57292] " ExtraLeveLInSoftware at ntlworld dot com
  2021-07-19  7:08 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: ExtraLeveLInSoftware at ntlworld dot com @ 2013-05-15 15:13 UTC (permalink / raw)
  To: gcc-bugs

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


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

* [Bug bootstrap/57292] Failure in build after stage 3, concerning libitm.la
  2013-05-15 15:13 [Bug bootstrap/57292] New: Failure in build after stage 3, concerning libitm.la ExtraLeveLInSoftware at ntlworld dot com
@ 2013-06-20 10:11 ` ExtraLeveLInSoftware at ntlworld dot com
  2021-07-19  7:08 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: ExtraLeveLInSoftware at ntlworld dot com @ 2013-06-20 10:11 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Ellis N. Thomas <ExtraLeveLInSoftware at ntlworld dot com> ---

    It also failed during installation with errors for libitm.la, equivalent
to the failures during build runtime libraries:

bash> make  install  &> ../logs/makeinst-1.log

Log file ended with:
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[3]: *** [libitm.la] Error 1
make[2]: *** [install-recursive] Error 1
make[1]: *** [install-target-libitm] Error 2
make: *** [install] Error 2


Ellis N. Thomas/20-Jun-2013


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

* [Bug bootstrap/57292] Failure in build after stage 3, concerning libitm.la
  2013-05-15 15:13 [Bug bootstrap/57292] New: Failure in build after stage 3, concerning libitm.la ExtraLeveLInSoftware at ntlworld dot com
  2013-06-20 10:11 ` [Bug bootstrap/57292] " ExtraLeveLInSoftware at ntlworld dot com
@ 2021-07-19  7:08 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-07-19  7:08 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This definitely has worked for others, and definitely in newer versions of GCC
and Mac OS X.  So closing as works for me.

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

end of thread, other threads:[~2021-07-19  7:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-15 15:13 [Bug bootstrap/57292] New: Failure in build after stage 3, concerning libitm.la ExtraLeveLInSoftware at ntlworld dot com
2013-06-20 10:11 ` [Bug bootstrap/57292] " ExtraLeveLInSoftware at ntlworld dot com
2021-07-19  7:08 ` pinskia at gcc dot gnu.org

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