public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/26513] make_exports.pl hardcoded to build nm
  2006-03-01 15:54 [Bug c++/26513] New: make_exports.pl hardcoded to build nm hanwen at xs4all dot nl
@ 2006-03-01 15:54 ` hanwen at xs4all dot nl
  2006-03-01 16:55 ` [Bug libstdc++/26513] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hanwen at xs4all dot nl @ 2006-03-01 15:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hanwen at xs4all dot nl  2006-03-01 15:54 -------
oops, changed target triplet.


-- 

hanwen at xs4all dot nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|i686-apple-darwin7          |powerpc-apple-darwin7


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


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

* [Bug c++/26513]  New: make_exports.pl hardcoded to build nm
@ 2006-03-01 15:54 hanwen at xs4all dot nl
  2006-03-01 15:54 ` [Bug c++/26513] " hanwen at xs4all dot nl
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: hanwen at xs4all dot nl @ 2006-03-01 15:54 UTC (permalink / raw)
  To: gcc-bugs

Hi, 

buildd a linux/x86 -> darwin/x86 cross compiler, the libstdc++ compile calls 

nm -P .libs/bitmap_allocator.o .libs/pool_allocator.o .libs/mt_allocator.o
.libs/codecvt.o .libs/compatibility.o .libs/complex_io.o .libs/ctype.o 
...

which barfs with

../libsupc++/.libs/libsupc++convenience.a|nm: .libs/bitmap_allocator.o: File
format not recognized
nm: .libs/pool_allocator.o: File format not recognized
nm: .libs/mt_allocator.o: File format not recognized

it seems that the 

  libstdc++-v3/scripts/make_exports.pl

script is hardcoded to "nm" iso. the value for NM_FOR_TARGET.


This happens with configuring as 

/home/hanwen/vc/gub/target/darwin-ppc/src/gcc-4.1.0/configure
--prefix=/home/hanwen/vc/gub/target/darwin-ppc/install/gcc-root/usr
--program-prefix=powerpc-apple-darwin7-
--prefix=/home/hanwen/vc/gub/target/darwin-ppc/system/usr/cross/
--with-slibdir=/usr/lib/ --target=powerpc-apple-darwin7
--with-sysroot=/home/hanwen/vc/gub/target/darwin-ppc/system/ 
--with-as=/home/hanwen/vc/gub/target/darwin-ppc/system/usr/cross/bin/powerpc-apple-darwin7-as
--with-ld=/home/hanwen/vc/gub/target/darwin-ppc/system/usr/cross/bin/powerpc-apple-darwin7-ld
--enable-static --enable-shared  --enable-languages=c,c++ 
--enable-libstdcxx-debug


-- 
           Summary: make_exports.pl hardcoded to build nm
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hanwen at xs4all dot nl
 GCC build triplet: i386-redhat-linux
  GCC host triplet: i386-redhat-linux
GCC target triplet: i686-apple-darwin7


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


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

* [Bug libstdc++/26513] make_exports.pl hardcoded to build nm
  2006-03-01 15:54 [Bug c++/26513] New: make_exports.pl hardcoded to build nm hanwen at xs4all dot nl
  2006-03-01 15:54 ` [Bug c++/26513] " hanwen at xs4all dot nl
@ 2006-03-01 16:55 ` pinskia at gcc dot gnu dot org
  2006-03-17 18:30 ` bkoz at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-01 16:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-03-01 16:55 -------
Yes most of the darwin configuration stuff is done only for native builds.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org, geoffk at gcc dot gnu
                   |                            |dot org
          Component|c++                         |libstdc++
           Keywords|                            |build


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


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

* [Bug libstdc++/26513] make_exports.pl hardcoded to build nm
  2006-03-01 15:54 [Bug c++/26513] New: make_exports.pl hardcoded to build nm hanwen at xs4all dot nl
  2006-03-01 15:54 ` [Bug c++/26513] " hanwen at xs4all dot nl
  2006-03-01 16:55 ` [Bug libstdc++/26513] " pinskia at gcc dot gnu dot org
@ 2006-03-17 18:30 ` bkoz at gcc dot gnu dot org
  2006-04-26 19:13 ` bkoz at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2006-03-17 18:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from bkoz at gcc dot gnu dot org  2006-03-17 18:29 -------

Solution is to make

make_exports.pl.in 

with NM_FOR_TARGET substition for current uses of 'nm'

This is done with other scripts. 

This is low-priority, but this is enough of a hint so that you should be able
to try and fix it.

-benjamin


-- 


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


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

* [Bug libstdc++/26513] make_exports.pl hardcoded to build nm
  2006-03-01 15:54 [Bug c++/26513] New: make_exports.pl hardcoded to build nm hanwen at xs4all dot nl
                   ` (2 preceding siblings ...)
  2006-03-17 18:30 ` bkoz at gcc dot gnu dot org
@ 2006-04-26 19:13 ` bkoz at gcc dot gnu dot org
  2006-04-26 19:54 ` bkoz at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2006-04-26 19:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from bkoz at gcc dot gnu dot org  2006-04-26 19:13 -------
Subject: Bug 26513

Author: bkoz
Date: Wed Apr 26 19:13:18 2006
New Revision: 113281

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113281
Log:
2006-04-26  Shantonu Sen  <ssen@opendarwin.org>

         PR libstdc++/26513
         * scripts/make_exports.pl: Use $ENV{NM_FOR_TARGET}, if present.


Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/scripts/make_exports.pl


-- 


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


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

* [Bug libstdc++/26513] make_exports.pl hardcoded to build nm
  2006-03-01 15:54 [Bug c++/26513] New: make_exports.pl hardcoded to build nm hanwen at xs4all dot nl
                   ` (3 preceding siblings ...)
  2006-04-26 19:13 ` bkoz at gcc dot gnu dot org
@ 2006-04-26 19:54 ` bkoz at gcc dot gnu dot org
  2006-04-26 19:59 ` bkoz at gcc dot gnu dot org
  2006-04-26 20:01 ` pcarlini at suse dot de
  6 siblings, 0 replies; 8+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2006-04-26 19:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from bkoz at gcc dot gnu dot org  2006-04-26 19:54 -------

Fixed in 4.2.0, 4.1.0


-- 

bkoz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.2.0


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


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

* [Bug libstdc++/26513] make_exports.pl hardcoded to build nm
  2006-03-01 15:54 [Bug c++/26513] New: make_exports.pl hardcoded to build nm hanwen at xs4all dot nl
                   ` (4 preceding siblings ...)
  2006-04-26 19:54 ` bkoz at gcc dot gnu dot org
@ 2006-04-26 19:59 ` bkoz at gcc dot gnu dot org
  2006-04-26 20:01 ` pcarlini at suse dot de
  6 siblings, 0 replies; 8+ messages in thread
From: bkoz at gcc dot gnu dot org @ 2006-04-26 19:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from bkoz at gcc dot gnu dot org  2006-04-26 19:59 -------
Subject: Bug 26513

Author: bkoz
Date: Wed Apr 26 19:59:05 2006
New Revision: 113284

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113284
Log:
2006-04-26  Shantonu Sen  <ssen@opendarwin.org>

         PR libstdc++/26513
         * scripts/make_exports.pl: Use $ENV{NM_FOR_TARGET}, if present.


Modified:
    branches/gcc-4_1-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_1-branch/libstdc++-v3/scripts/make_exports.pl


-- 


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


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

* [Bug libstdc++/26513] make_exports.pl hardcoded to build nm
  2006-03-01 15:54 [Bug c++/26513] New: make_exports.pl hardcoded to build nm hanwen at xs4all dot nl
                   ` (5 preceding siblings ...)
  2006-04-26 19:59 ` bkoz at gcc dot gnu dot org
@ 2006-04-26 20:01 ` pcarlini at suse dot de
  6 siblings, 0 replies; 8+ messages in thread
From: pcarlini at suse dot de @ 2006-04-26 20:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pcarlini at suse dot de  2006-04-26 20:01 -------
I think the correct Target Milestone is 4.1.1...


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.0                       |4.1.1


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


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

end of thread, other threads:[~2006-04-26 20:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-01 15:54 [Bug c++/26513] New: make_exports.pl hardcoded to build nm hanwen at xs4all dot nl
2006-03-01 15:54 ` [Bug c++/26513] " hanwen at xs4all dot nl
2006-03-01 16:55 ` [Bug libstdc++/26513] " pinskia at gcc dot gnu dot org
2006-03-17 18:30 ` bkoz at gcc dot gnu dot org
2006-04-26 19:13 ` bkoz at gcc dot gnu dot org
2006-04-26 19:54 ` bkoz at gcc dot gnu dot org
2006-04-26 19:59 ` bkoz at gcc dot gnu dot org
2006-04-26 20:01 ` pcarlini at suse dot de

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