public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tammer at tammer dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/38607] AIX error messages about TOC during build
Date: Wed, 24 Dec 2008 15:47:00 -0000	[thread overview]
Message-ID: <20081224154546.32278.qmail@sourceware.org> (raw)
In-Reply-To: <bug-38607-15635@http.gcc.gnu.org/bugzilla/>



------- Comment #6 from tammer at tammer dot net  2008-12-24 15:45 -------
Hello,
in addition to IBM XLC/C++ V9 I have tried gcc 4.2.4 (from www.perzl.org) to
bootstrap 4.2.4. The error is always the same. The build finishes but according
to the log the libstdc++.so.6 is not OK. 

I have used the unmodified source. With the following options:

export PATH=/opt/freeware/bin:$PATH
export CONFIG_SHELL=/opt/freeware/bin/bash
export CONFIGURE_ENV_ARGS=/opt/freeware/bin/bash
export CC=gcc
export BOOT_CFLAGS="-O2 -I/opt/freeware/include"
export CFLAGS="-O2 -I/opt/freeware/include"
export CXXFLAGS="-I/opt/freeware/include"
export LIBCFLAGS="-g -O2 -I/opt/freeware/include"
export LIBCXXFLAGS="-g -O2 -I/opt/freeware/include -fno-implicit-templates"
export LDFLAGS="-L/opt/freeware/lib"

./configure \
 --with-as=/usr/bin/as \
 --with-ld=/usr/bin/ld \
 --enable-languages="c,c++,fortran" \
 --prefix=/opt/freeware \
 --enable-threads \
 --enable-version-specific-runtime-libs \
 --disable-nls \
 --enable-decimal-float=dpd \
 --host=powerpc-ibm-aix5.3.0.0

ulimit -d unlimited
ulimit -s unlimited
gmake bootstrap-lean


I see two problems:

1. substitution problem in the linker call for libstdc++.so.6,libgfortran.so.2,
libgomp.so.1,  :

... -Wl,-bnoentry ${wl}-berok

Why is ${wl} not replaced with -Wl, as for -bnoentry ??

2. TOC problem for libstdc++.so.6

ld: 0711-768 WARNING: Object
../libsupc++/.libs/libsupc++convenience.a[eh_terminate.o], section 1
, function .__cxxabiv1::__terminate(void (*)()):
        The branch at address 0x310 is not followed by a recognized no-op
        or TOC-reload instruction. The unrecognized instruction is 0x0.
ld: 0711-768 WARNING: Object
../libsupc++/.libs/libsupc++convenience.a[eh_terminate.o], section 1
, function .std::terminate():
        The branch at address 0x370 is not followed by a recognized no-op
        or TOC-reload instruction. The unrecognized instruction is 0x0.
ld: 0711-768 WARNING: Object
../libsupc++/.libs/libsupc++convenience.a[tinfo.o], section 1, funct
ion .std::type_info::~type_info():
        The branch at address 0x12a0 is not followed by a recognized no-op
        or TOC-reload instruction. The unrecognized instruction is 0x38000000.
.... 

The resulting library is not OK. This is definitely a problem.

Bye
  Rainer


-- 


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


  parent reply	other threads:[~2008-12-24 15:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-23  7:28 [Bug bootstrap/38607] New: " tammer at tammer dot net
2008-12-23  7:29 ` [Bug bootstrap/38607] " tammer at tammer dot net
2008-12-23  7:29 ` tammer at tammer dot net
2008-12-23  7:30 ` tammer at tammer dot net
2008-12-23 17:17 ` pinskia at gcc dot gnu dot org
2008-12-24 11:14 ` tammer at tammer dot net
2008-12-24 15:47 ` tammer at tammer dot net [this message]
2008-12-26  8:39 ` tammer at tammer dot net
2008-12-26  8:53 ` tammer at tammer dot net
2008-12-26  9:08 ` tammer at tammer dot net
2008-12-26  9:08 ` tammer at tammer dot net
2008-12-26  9:11 ` tammer at tammer dot net
2009-01-12  7:13 ` tammer at tammer dot net
2010-06-18 13:45 ` michael dot haubenwallner at salomon dot at
     [not found] <bug-38607-4@http.gcc.gnu.org/bugzilla/>
2011-09-23 10:14 ` lukasz.filipkowski at gmail dot com
2012-06-20 11:26 ` sumamb at yahoo dot com
2012-06-20 12:02 ` sumamb at yahoo dot com
2012-06-21  0:54 ` fbissey at slingshot dot co.nz
2012-09-13 20:11 ` dje at gcc dot gnu.org
2012-09-14 23:25 ` dje at gcc dot gnu.org
2013-03-25 20:53 ` dje at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081224154546.32278.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).