[Bug target/29990] Linking fails because __ZdlPv can't be a weak definition

2007-07-02 Thread yves at gnu-darwin dot org


--- Comment #5 from yves at gnu-darwin dot org  2007-07-02 17:59 ---
Fixed in g++ 4.2.0

Thanks


-- 

yves at gnu-darwin dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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



[Bug target/29990] Linking fails because __ZdlPv can't be a weak definition

2006-11-28 Thread yves at gnu-darwin dot org


--- Comment #4 from yves at gnu-darwin dot org  2006-11-28 22:23 ---
Thanks for the comments.

I have many dynamic libraries in c++ all compiled with -flat_namespace.  
They all have
 U __ZdlPv

The only point of interrest I can add is that I get this error trying to build
the GNUstep version of poppler but I don't get this problem when building the
GNUstep version of xpdf.  The point, as you may know, is that poppler is the
same code as xpdf but bundled as a shared library.  And PopplerKit uses the
same objective C bridge approach than its predecessor, PDFKit.


-- 


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



[Bug target/29990] Linking fails because __ZdlPv can't be a weak definition

2006-11-26 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2006-11-27 04:49 ---
I don't think you can use -flat_namespace with dynamic libraries and libstdc++.

Also this should have been fixed by:

* config/darwin.c (machopic_select_section): Remove the hack to
mark ::operator new and ::operator delete for coalescing
even though they are not weak.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

  Component|c++ |target


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



Re: [Bug target/29990] Linking fails because __ZdlPv can't be a weak definition

2006-11-26 Thread Andrew Pinski
On Mon, 2006-11-27 at 04:49 +, pinskia at gcc dot gnu dot org wrote:
 
 --- Comment #2 from pinskia at gcc dot gnu dot org  2006-11-27 04:49 
 ---
 I don't think you can use -flat_namespace with dynamic libraries and 
 libstdc++.

Also I don't think this is a GCC issue.  I think it is an user issue,
and it is harder to reproduce without full sources.

-- Pinski



[Bug target/29990] Linking fails because __ZdlPv can't be a weak definition

2006-11-26 Thread pinskia at gmail dot com


--- Comment #3 from pinskia at gmail dot com  2006-11-27 04:51 ---
Subject: Re:  Linking fails because __ZdlPv can't be a
weak definition

On Mon, 2006-11-27 at 04:49 +, pinskia at gcc dot gnu dot org wrote:
 
 --- Comment #2 from pinskia at gcc dot gnu dot org  2006-11-27 04:49 
 ---
 I don't think you can use -flat_namespace with dynamic libraries and 
 libstdc++.

Also I don't think this is a GCC issue.  I think it is an user issue,
and it is harder to reproduce without full sources.

-- Pinski


-- 


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