public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/21382] -fvisibility-inlines-hidden breaks OpenEXR-1.2.2 build.
  2005-05-04 15:08 [Bug other/21382] New: -fvisibility-inlines-hidden breaks OpenEXR-1.2.2 build pluto at pld-linux dot org
  2005-05-04 15:08 ` [Bug other/21382] " pluto at pld-linux dot org
@ 2005-05-04 15:08 ` pluto at pld-linux dot org
  2005-05-04 15:12 ` pluto at pld-linux dot org
  2005-05-04 17:15 ` hjl at lucon dot org
  3 siblings, 0 replies; 7+ messages in thread
From: pluto at pld-linux dot org @ 2005-05-04 15:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at pld-linux dot org  2005-05-04 15:08 -------
Created an attachment (id=8818)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8818&action=view)
build log.


-- 


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


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

* [Bug other/21382] New: -fvisibility-inlines-hidden breaks OpenEXR-1.2.2 build.
@ 2005-05-04 15:08 pluto at pld-linux dot org
  2005-05-04 15:08 ` [Bug other/21382] " pluto at pld-linux dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: pluto at pld-linux dot org @ 2005-05-04 15:08 UTC (permalink / raw)
  To: gcc-bugs

on both archs shared objects are build with:
-O2 -ggdb -fvisibility-inlines-hidden -fPIC -DPIC

linking fails with an error:

/usr/bin/ld: .libs/IexBaseExc.o: relocation R_X86_64_PC32 against
`_ZNSsD1Ev@@GLIBCXX_3.4' can not be used when making a shared object;
recompile with -fPIC
/usr/bin/ld: final link failed: Bad value

without -fvisiblity-inlines-hidden everything is ok on all archs.

is this a gcc or binutils bug?

# gcc-4.0.0 (+fixes for PRs 20973,21173)
# binutils-2.16.90.0.2

-- 
           Summary: -fvisibility-inlines-hidden breaks OpenEXR-1.2.2 build.
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at pld-linux dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: amd64 & ppc
  GCC host triplet: amd64 & ppc
GCC target triplet: amd64 & ppc


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


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

* [Bug other/21382] -fvisibility-inlines-hidden breaks OpenEXR-1.2.2 build.
  2005-05-04 15:08 [Bug other/21382] New: -fvisibility-inlines-hidden breaks OpenEXR-1.2.2 build pluto at pld-linux dot org
@ 2005-05-04 15:08 ` pluto at pld-linux dot org
  2005-05-04 15:08 ` pluto at pld-linux dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: pluto at pld-linux dot org @ 2005-05-04 15:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at pld-linux dot org  2005-05-04 15:08 -------
Created an attachment (id=8819)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8819&action=view)
build log.


-- 


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


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

* [Bug other/21382] -fvisibility-inlines-hidden breaks OpenEXR-1.2.2 build.
  2005-05-04 15:08 [Bug other/21382] New: -fvisibility-inlines-hidden breaks OpenEXR-1.2.2 build pluto at pld-linux dot org
  2005-05-04 15:08 ` [Bug other/21382] " pluto at pld-linux dot org
  2005-05-04 15:08 ` pluto at pld-linux dot org
@ 2005-05-04 15:12 ` pluto at pld-linux dot org
  2005-05-04 17:15 ` hjl at lucon dot org
  3 siblings, 0 replies; 7+ messages in thread
From: pluto at pld-linux dot org @ 2005-05-04 15:12 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmazur at kernel dot pl


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


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

* [Bug other/21382] -fvisibility-inlines-hidden breaks OpenEXR-1.2.2 build.
  2005-05-04 15:08 [Bug other/21382] New: -fvisibility-inlines-hidden breaks OpenEXR-1.2.2 build pluto at pld-linux dot org
                   ` (2 preceding siblings ...)
  2005-05-04 15:12 ` pluto at pld-linux dot org
@ 2005-05-04 17:15 ` hjl at lucon dot org
  3 siblings, 0 replies; 7+ messages in thread
From: hjl at lucon dot org @ 2005-05-04 17:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hjl at lucon dot org  2005-05-04 17:15 -------
Known gcc bug. Check out my patch in bug 19664:

http://gcc.gnu.org/ml/gcc-patches/2005-02/msg00180.html

You may need to fix libstdc++ header files also.

*** This bug has been marked as a duplicate of 19664 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hjl at lucon dot org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

* [Bug other/21382] -fvisibility-inlines-hidden breaks OpenEXR-1.2.2 build.
       [not found] <20050504150741.21382.pluto@agmk.net>
  2005-05-17  8:27 ` pluto at agmk dot net
@ 2005-05-17  8:57 ` pcarlini at suse dot de
  1 sibling, 0 replies; 7+ messages in thread
From: pcarlini at suse dot de @ 2005-05-17  8:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pcarlini at suse dot de  2005-05-17 08:57 -------
Assuming that the intertwined compiler issues get fixed, the libstdc++ patch 
should be trivial, I'm attaching to 19664 an old draft that maybe has now some 
hunks wrong about copyright dates (if you can rework those and update it, would
be great)

-- 


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


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

* [Bug other/21382] -fvisibility-inlines-hidden breaks OpenEXR-1.2.2 build.
       [not found] <20050504150741.21382.pluto@agmk.net>
@ 2005-05-17  8:27 ` pluto at agmk dot net
  2005-05-17  8:57 ` pcarlini at suse dot de
  1 sibling, 0 replies; 7+ messages in thread
From: pluto at agmk dot net @ 2005-05-17  8:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pluto at agmk dot net  2005-05-17 08:27 -------
(In reply to comment #3) 
> Known gcc bug. Check out my patch in bug 19664: 
>  
> http://gcc.gnu.org/ml/gcc-patches/2005-02/msg00180.html 
>  
> You may need to fix libstdc++ header files also. 
 
in PR19664 i see discussion about the libstdc++ headers 
but don't see any patch. 

-- 


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


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

end of thread, other threads:[~2005-05-17  8:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-04 15:08 [Bug other/21382] New: -fvisibility-inlines-hidden breaks OpenEXR-1.2.2 build pluto at pld-linux dot org
2005-05-04 15:08 ` [Bug other/21382] " pluto at pld-linux dot org
2005-05-04 15:08 ` pluto at pld-linux dot org
2005-05-04 15:12 ` pluto at pld-linux dot org
2005-05-04 17:15 ` hjl at lucon dot org
     [not found] <20050504150741.21382.pluto@agmk.net>
2005-05-17  8:27 ` pluto at agmk dot net
2005-05-17  8:57 ` 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).