public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16625] New: Discarded Linkonce sections in .rodata
@ 2004-07-19 10:59 wenzel at tu-harburg dot de
  2004-07-19 10:59 ` [Bug c++/16625] " wenzel at tu-harburg dot de
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: wenzel at tu-harburg dot de @ 2004-07-19 10:59 UTC (permalink / raw)
  To: gcc-bugs

As HJL requested in http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16276 on
2004-07-08, here is a new bug report and a testcase which now unfolds the
g++-bug in 3.4.0. The code is now correct. The patch that HJL posted at
http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00838.html works, but he added that
it is a temporary one and the solution would be the comdat group (which IMHO is
not used with the patch)

-- 
           Summary: Discarded Linkonce sections in .rodata
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wenzel at tu-harburg dot de
                CC: gcc-bugs at gcc dot gnu dot org,hjl at lucon dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
@ 2004-07-19 10:59 ` wenzel at tu-harburg dot de
  2004-07-19 13:40 ` hjl at lucon dot org
                   ` (19 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: wenzel at tu-harburg dot de @ 2004-07-19 10:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From wenzel at tu-harburg dot de  2004-07-19 10:59 -------
Created an attachment (id=6779)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6779&action=view)
Testcase, now syntactically correct


-- 


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
  2004-07-19 10:59 ` [Bug c++/16625] " wenzel at tu-harburg dot de
@ 2004-07-19 13:40 ` hjl at lucon dot org
  2004-07-19 17:57 ` pinskia at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: hjl at lucon dot org @ 2004-07-19 13:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hjl at lucon dot org  2004-07-19 13:40 -------
A patch which uses comdat group is posted at

http://gcc.gnu.org/ml/gcc-patches/2004-07/msg01047.html

-- 


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
  2004-07-19 10:59 ` [Bug c++/16625] " wenzel at tu-harburg dot de
  2004-07-19 13:40 ` hjl at lucon dot org
@ 2004-07-19 17:57 ` pinskia at gcc dot gnu dot org
  2004-08-01  9:31 ` schwab at suse dot de
                   ` (17 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-19 17:57 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (2 preceding siblings ...)
  2004-07-19 17:57 ` pinskia at gcc dot gnu dot org
@ 2004-08-01  9:31 ` schwab at suse dot de
  2004-08-01  9:33 ` schwab at suse dot de
                   ` (16 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: schwab at suse dot de @ 2004-08-01  9:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From schwab at suse dot de  2004-08-01 09:31 -------
*** Bug 16849 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schwab at suse dot de


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (3 preceding siblings ...)
  2004-08-01  9:31 ` schwab at suse dot de
@ 2004-08-01  9:33 ` schwab at suse dot de
  2004-08-01 15:10 ` giovannibajo at libero dot it
                   ` (15 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: schwab at suse dot de @ 2004-08-01  9:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From schwab at suse dot de  2004-08-01 09:33 -------
Bug 16849 has a much simpler test case. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matz at suse dot de


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (4 preceding siblings ...)
  2004-08-01  9:33 ` schwab at suse dot de
@ 2004-08-01 15:10 ` giovannibajo at libero dot it
  2004-08-01 16:16 ` hjl at lucon dot org
                   ` (14 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: giovannibajo at libero dot it @ 2004-08-01 15:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-08-01 15:10 -------
Confirmed by Andreas then. As already noted, PR 16849 has a clearer description 
and smaller testcase.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-08-01 15:10:16
               date|                            |


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (5 preceding siblings ...)
  2004-08-01 15:10 ` giovannibajo at libero dot it
@ 2004-08-01 16:16 ` hjl at lucon dot org
  2004-08-07 16:41 ` hjl at lucon dot org
                   ` (13 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: hjl at lucon dot org @ 2004-08-01 16:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hjl at lucon dot org  2004-08-01 16:16 -------
A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2004-07/msg01047.html

-- 


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (6 preceding siblings ...)
  2004-08-01 16:16 ` hjl at lucon dot org
@ 2004-08-07 16:41 ` hjl at lucon dot org
  2004-08-25  7:33 ` andrew at walrond dot org
                   ` (12 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: hjl at lucon dot org @ 2004-08-07 16:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hjl at lucon dot org  2004-08-07 16:41 -------
Another bug report:

http://sources.redhat.com/bugzilla/show_bug.cgi?id=310

Could someone please comment on my patch? I'd like to see it in mainline,
3.3 and 3.4.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at codesourcery dot com


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (7 preceding siblings ...)
  2004-08-07 16:41 ` hjl at lucon dot org
@ 2004-08-25  7:33 ` andrew at walrond dot org
  2004-08-27 11:34 ` andrew at walrond dot org
                   ` (11 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: andrew at walrond dot org @ 2004-08-25  7:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From andrew at walrond dot org  2004-08-25 07:33 -------
> Could someone please comment on my patch? I'd like to see it in mainline,
> 3.3 and 3.4.

SECONDED and REMINDER

Important packages, notably Mozilla/Thunderbird/Firefox cannot be built with 
3.3.4 or 3.4.1

-- 


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (8 preceding siblings ...)
  2004-08-25  7:33 ` andrew at walrond dot org
@ 2004-08-27 11:34 ` andrew at walrond dot org
  2004-11-17 16:59 ` gustavo dot boiko at kdemail dot net
                   ` (10 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: andrew at walrond dot org @ 2004-08-27 11:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From andrew at walrond dot org  2004-08-27 11:33 -------
> Could someone please comment on my patch? I'd like to see it in mainline,
> 3.3 and 3.4.

With your patch applied to gcc3.4.1, previously broken builds of 
Mozilla/thunderbird firefox are now working.

But I am seeing similar looking problems (and failure) building Kdegraphics-
3.3.0

/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-
long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -
Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -
Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -
fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -
DQT_NO_TRANSLATION    -o libkpovmodeler.la -rpath /pkg/kde.1/lib -
L/pkg/x11.1/lib -L/pkg/qt.1/lib -L/pkg/kde.1/lib  -version-info 0:0:0 -no-
undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -
R/pkg/freetype2.1/lib pmpart.lo pmfactory.lo pmview.lo pmshell.lo 
pmobjectdrag.lo pmtreeview.lo pmmessage.lo pmtreeviewitem.lo pmerrordialog.lo 
pminsertpopup.lo pminserterrordialog.lo pmglview.lo pmrendermanager.lo 
pmobjectselect.lo pmrendermodesdialog.lo pmpovrayrenderwidget.lo 
pmpovraywidget.lo pmpovrayoutputwidget.lo pmsettingsdialog.lo 
pmcolorsettings.lo pmgridsettings.lo pmlayoutsettings.lo 
pmobjectlibrarysettings.lo pmobjectsettings.lo pmpluginsettings.lo 
pmpovraysettings.lo pmpreviewsettings.lo pmopenglsettings.lo pmdockwidget.lo 
pmdockwidget_private.lo pmviewlayoutmanager.lo pmviewbase.lo pmviewfactory.lo 
pmunknownview.lo pmdragwidget.lo pmprototypemanager.lo pmobject.lo 
pmcompositeobject.lo pmgraphicalobject.lo pmsolidobject.lo pmscene.lo 
pmglobalsettings.lo pmskysphere.lo pmrainbow.lo pmfog.lo pmbox.lo pmsphere.lo 
pmblob.lo pmblobsphere.lo pmblobcylinder.lo pmtext.lo pmjuliafractal.lo 
pmcylinder.lo pmcone.lo pmtorus.lo pmplane.lo pmpolynom.lo pmdisc.lo 
pmbicubicpatch.lo pmtriangle.lo pmlathe.lo pmprism.lo pmsor.lo pmsqe.lo 
pmheightfield.lo pmheightfieldroam.lo pmcomment.lo pmraw.lo pmnamedobject.lo 
pmtranslate.lo pmscale.lo pmrotate.lo pmpovraymatrix.lo pmcsg.lo pmcamera.lo 
pmboundedby.lo pmclippedby.lo pmlight.lo pmlookslike.lo pmprojectedthrough.lo 
pmtexturebase.lo pmtexture.lo pmpigment.lo pmsolidcolor.lo pmlistpattern.lo 
pmquickcolor.lo pmpattern.lo pmblendmapmodifiers.lo pmtexturemap.lo 
pmnormal.lo pmslope.lo pmwarp.lo pmfinish.lo pminterior.lo pmmedia.lo 
pmmaterial.lo pmmaterialmap.lo pmdensity.lo pmimagemap.lo pmbumpmap.lo 
pmisosurface.lo pmradiosity.lo pmglobalphotons.lo pmphotons.lo pmlightgroup.lo 
pminteriortexture.lo pmspheresweep.lo pmmesh.lo pmdeclare.lo pmobjectlink.lo 
pmrecursiveobjectiterator.lo pmaddcommand.lo pmcommandmanager.lo 
pmdatachangecommand.lo pmdeletecommand.lo pmmovecommand.lo pmdialogview.lo 
pmdialogeditbase.lo pmgraphicalobjectedit.lo pmnamedobjectedit.lo 
pmsolidobjectedit.lo pmskysphereedit.lo pmglobalsettingsedit.lo 
pmrainbowedit.lo pmfogedit.lo pmboxedit.lo pmsphereedit.lo pmblobedit.lo 
pmblobsphereedit.lo pmblobcylinderedit.lo pmtextedit.lo pmjuliafractaledit.lo 
pmcylinderedit.lo pmconeedit.lo pmtorusedit.lo pmplaneedit.lo pmpolynomedit.lo 
pmheightfieldedit.lo pmlatheedit.lo pmprismedit.lo pmsoredit.lo pmsqeedit.lo 
pmdiscedit.lo pmbicubicpatchedit.lo pmtriangleedit.lo pmcommentedit.lo 
pmrawedit.lo pmrotateedit.lo pmscaleedit.lo pmtranslateedit.lo 
pmpovraymatrixedit.lo pmcsgedit.lo pmcameraedit.lo pmlightedit.lo 
pmboundedbyedit.lo pmclippedbyedit.lo pmlineedits.lo pmvectorlistedit.lo 
pmcoloredit.lo pmlinkedit.lo pmvectoredit.lo pmpalettevalueedit.lo 
pmformulalabel.lo pmtexturebaseedit.lo pmtextureedit.lo pmpigmentedit.lo 
pmsolidcoloredit.lo pmlistpatternedit.lo pmquickcoloredit.lo pmpatternedit.lo 
pmblendmapmodifiersedit.lo pmimagemapedit.lo pmtexturemapedit.lo 
pmbumpmapedit.lo pmmaterialmapedit.lo pmnormaledit.lo pmslopeedit.lo 
pmfinishedit.lo pmwarpedit.lo pminterioredit.lo pmmediaedit.lo 
pmmaterialedit.lo pmdensityedit.lo pmdeclareedit.lo pmobjectlinkedit.lo 
pmisosurfaceedit.lo pmradiosityedit.lo pmglobalphotonsedit.lo pmphotonsedit.lo 
pmlightgroupedit.lo pminteriortextureedit.lo pmspheresweepedit.lo 
pmmeshedit.lo pmcontrolpoint.lo pm3dcontrolpoint.lo pm2dcontrolpoint.lo 
pmsorcontrolpoint.lo pmtranslatecontrolpoint.lo pmrotatecontrolpoint.lo 
pmscalecontrolpoint.lo pmvectorcontrolpoint.lo pmdistancecontrolpoint.lo 
pmplanenormalcontrolpoint.lo pmmemento.lo pmmapmemento.lo pmsplinememento.lo 
pmprismmemento.lo pmpalettevaluememento.lo pmiomanager.lo pmpovrayformat.lo 
pmpovray31format.lo pmpovray35format.lo pmpovray31serialization.lo 
pmpovray35serialization.lo pmscanner.lo pmparser.lo pmxmlparser.lo 
pmpovrayparser.lo pmserializer.lo pmoutputdevice.lo pmxmlhelper.lo 
pmfiledialog.lo pmpalettevalue.lo pmvector.lo pmmath.lo pmmatrix.lo 
pmviewstructure.lo pmline.lo pmcolor.lo pmpoint.lo pmsymboltable.lo 
pmactions.lo pmsplinesegment.lo pmsorsegment.lo pmpolynomexponents.lo 
pmvariant.lo pmmetaobject.lo pmenumproperty.lo pmrendermode.lo 
pmresourcelocator.lo pmtruetypecache.lo pmdocumentationmap.lo 
pminsertrulesystem.lo pmlibrarymanager.lo pmlibraryhandle.lo 
pmlibraryhandleedit.lo pmlibraryobject.lo pmlibraryentrypreview.lo 
pmlibrarybrowser.lo pmlibraryiconview.lo pmlibraryobjectsearch.lo 
pmpluginmanager.lo pmpartiface_skel.lo -L/pkg/freetype2.1/lib -lfreetype -lz -
lkparts -lGLU -lGL -lX11  -lXmu -lXi
`.L82' referenced in section `.rodata' of .libs/pmgraphicalobject.o: defined 
in discarded section 
`.gnu.linkonce.t._ZN10PMProperty12setProtectedEP8PMObjectRK9PMVariant' 
of .libs/pmgraphicalobject.o
`.L85' referenced in section `.rodata' of .libs/pmgraphicalobject.o: defined 
in discarded section 
`.gnu.linkonce.t._ZN10PMProperty12setProtectedEP8PMObjectRK9PMVariant' 
of .libs/pmgraphicalobject.o
`.L88' referenced in section `.rodata' of .libs/pmgraphicalobject.o: defined 
in discarded section 
`.gnu.linkonce.t._ZN10PMProperty12setProtectedEP8PMObjectRK9PMVariant' 
of .libs/pmgraphicalobject.o
`.L91' referenced in section `.rodata' of .libs/pmgraphicalobject.o: defined 
in discarded section 
`.gnu.linkonce.t._ZN10PMProperty12setProtectedEP8PMObjectRK9PMVariant' 
of .libs/pmgraphicalobject.o
`.L94' referenced in section `.rodata' of .libs/pmgraphicalobject.o: defined 
in discarded section 
`.gnu.linkonce.t._ZN10PMProperty12setProtectedEP8PMObjectRK9PMVariant' 
of .libs/pmgraphicalobject.o
`.L97' referenced in section `.rodata' of .libs/pmgraphicalobject.o: defined 
in discarded section 
`.gnu.linkonce.t._ZN10PMProperty12setProtectedEP8PMObjectRK9PMVariant' 
of .libs/pmgraphicalobject.o
`.L106' referenced in section `.rodata' of .libs/pmgraphicalobject.o: defined 
in discarded section 
`.gnu.linkonce.t._ZN10PMProperty12setProtectedEP8PMObjectRK9PMVariant' 
of .libs/pmgraphicalobject.o
`.L109' referenced in section `.rodata' of .libs/pmgraphicalobject.o: defined 
in discarded section 
`.gnu.linkonce.t._ZN10PMProperty12setProtectedEP8PMObjectRK9PMVariant' 
of .libs/pmgraphicalobject.o
`.L112' referenced in section `.rodata' of .libs/pmgraphicalobject.o: defined 
in discarded section 
`.gnu.linkonce.t._ZN10PMProperty12setProtectedEP8PMObjectRK9PMVariant' 
of .libs/pmgraphicalobject.o
`.L130' referenced in section `.rodata' of .libs/pmgraphicalobject.o: defined 
in discarded section 
`.gnu.linkonce.t._ZN10PMProperty12getProtectedEPK8PMObject' 
of .libs/pmgraphicalobject.o
`.L133' referenced in section `.rodata' of .libs/pmgraphicalobject.o: defined 
in discarded section 
`.gnu.linkonce.t._ZN10PMProperty12getProtectedEPK8PMObject' 
of .libs/pmgraphicalobject.o
`.L136' referenced in section `.rodata' of .libs/pmgraphicalobject.o: defined 
in discarded section 
`.gnu.linkonce.t._ZN10PMProperty12getProtectedEPK8PMObject' 
of .libs/pmgraphicalobject.o


-- 


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (9 preceding siblings ...)
  2004-08-27 11:34 ` andrew at walrond dot org
@ 2004-11-17 16:59 ` gustavo dot boiko at kdemail dot net
  2004-11-23  9:19 ` trapni at gentoo dot org
                   ` (9 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: gustavo dot boiko at kdemail dot net @ 2004-11-17 16:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gustavo dot boiko at kdemail dot net  2004-11-17 16:59 -------
any news on this problem? I've seen some problems like this one in 
OpenOffice.org cvs HEAD compilation with gcc-3.4.3 because of some inlined 
class methods at the cppu and the xmlscript modules. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gustavo dot boiko at kdemail
                   |                            |dot net


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (10 preceding siblings ...)
  2004-11-17 16:59 ` gustavo dot boiko at kdemail dot net
@ 2004-11-23  9:19 ` trapni at gentoo dot org
  2004-11-23 16:40 ` hjl at lucon dot org
                   ` (8 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: trapni at gentoo dot org @ 2004-11-23  9:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From trapni at gentoo dot org  2004-11-23 09:19 -------
I'm having the (NEARLY?) same problem, using gcc 3.4.3 
 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: 
`typeinfo for CodeDOM::TAttribute'referenced in section 
`.gnu.linkonce.d._ZTVN7CodeDOM10TAttributeE' of .libs/TAttribute.o: defined in 
discarded section `.gnu.linkonce.d._ZTIN7CodeDOM10TAttributeE' 
of .libs/TAttribute.o 
 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: 
`typeinfo for CodeDOM::TAttribute'referenced in section 
`.gnu.linkonce.d._ZTVN7CodeDOM10TAttributeE' of .libs/TAttribute.o: defined in 
discarded section `.gnu.linkonce.d._ZTIN7CodeDOM10TAttributeE' 
of .libs/TAttribute.o 
 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: 
`typeinfo for CodeDOM::TAttribute'referenced in section 
`.gnu.linkonce.d._ZTVN7CodeDOM10TAttributeE' of .libs/TAttribute.o: defined in 
discarded section `.gnu.linkonce.d._ZTIN7CodeDOM10TAttributeE' 
of .libs/TAttribute.o 
 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: 
`typeinfo for CodeDOM::TParamSym' referenced in section 
`.gnu.linkonce.d._ZTIPN7CodeDOM9TParamSymE' of .libs/TCastDef.o: defined in 
discarded section `.gnu.linkonce.d._ZTIN7CodeDOM9TParamSymE' 
of .libs/TParamSym.o 
 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: 
`typeinfo for CodeDOM::TClassDef' referenced in section `.text' 
of .libs/TClassName.o: defined in discarded section 
`.gnu.linkonce.d._ZTIN7CodeDOM9TClassDefE' of .libs/TClassDef.o 
 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: BFD 
2.15.92.0.2 20040927 internal error, aborting at elf32-i386.c line 2224 in 
elf_i386_relocate_section 
 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: 
Please report this bug. 
 
I first thought it would be a bug in binutils (ld), because he complained 
about. 
 
Is there any wayt to code around this bug? I'm forced to stop coding until this 
is fixed :((( 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |trapni at gentoo dot org


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (11 preceding siblings ...)
  2004-11-23  9:19 ` trapni at gentoo dot org
@ 2004-11-23 16:40 ` hjl at lucon dot org
  2004-11-24  2:59 ` trapni at gentoo dot org
                   ` (7 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: hjl at lucon dot org @ 2004-11-23 16:40 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hjl at lucon dot org  2004-11-23 16:40 -------
Please try the Linux binutils 2.15.94.0.1.

-- 


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (12 preceding siblings ...)
  2004-11-23 16:40 ` hjl at lucon dot org
@ 2004-11-24  2:59 ` trapni at gentoo dot org
  2004-11-24  3:19 ` trapni at gentoo dot org
                   ` (6 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: trapni at gentoo dot org @ 2004-11-24  2:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From trapni at gentoo dot org  2004-11-24 02:59 -------
As a workaround, I just created a MyLibrary_all.cpp that  
#include'd all the .cpp files existing in this lib. this 
obviousely linked and I could work as usual (nearly).. 
However, I'm testing 2.15.94.0.1 now :) maybe thix fixes it. 
 
thanks, 
Christian Parpart. 

-- 


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (13 preceding siblings ...)
  2004-11-24  2:59 ` trapni at gentoo dot org
@ 2004-11-24  3:19 ` trapni at gentoo dot org
  2004-11-24  7:01 ` hjl at lucon dot org
                   ` (5 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: trapni at gentoo dot org @ 2004-11-24  3:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From trapni at gentoo dot org  2004-11-24 03:19 -------
Well, no. it doesn't work with that binutils: 
 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: 
`typeinfo for CodeDOM::TClassDef' referenced in section 
`.gnu.linkonce.t._ZNK6System13Serialization18TSerializationInfo15getStrictObjectIN7CodeDOM9TClassDefEEEPT_RKNS_11TStringBaseIcEE' 
of .libs/TAttribute.o: defined in discarded section 
`.gnu.linkonce.d._ZTIN7CodeDOM9TClassDefE' 
of ./.libs/libCodeDOM_def.a(TClassDef.o) 
 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: BFD 
2.15.94.0.1 20041121 internal error, aborting 
at /var/tmp/portage/binutils-2.15.94.0.1/work/binutils-2.15.94.0.1/bfd/elf32-i386.c 
line 2224 in elf_i386_relocate_section 
 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: 
Please report this bug. 
 
collect2: ld returned 1 exit status 
 
I would like to reproduce this within a little 2-file demo  
if would just know WTF this bug raises.  
 
I guess, giving you my sources doesn't help, does it? in  
order to find the bug, I mean. 
 
Greets, 
Christian Parpart. 

-- 


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (14 preceding siblings ...)
  2004-11-24  3:19 ` trapni at gentoo dot org
@ 2004-11-24  7:01 ` hjl at lucon dot org
  2004-11-24  7:35 ` trapni at gentoo dot org
                   ` (4 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: hjl at lucon dot org @ 2004-11-24  7:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hjl at lucon dot org  2004-11-24 07:01 -------
This is a compiler bug. I am not sure how much linker can help here. A
sel-contained testcase is needed to take a look at it.

-- 


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (15 preceding siblings ...)
  2004-11-24  7:01 ` hjl at lucon dot org
@ 2004-11-24  7:35 ` trapni at gentoo dot org
  2004-11-24 14:38 ` hjl at lucon dot org
                   ` (3 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: trapni at gentoo dot org @ 2004-11-24  7:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From trapni at gentoo dot org  2004-11-24 07:35 -------
Yeah, but I really do not know how to reproduce this bug, as the source code is 
really too much to say, line X is guilty. 
 
well, but what's "sel-contained"? 

-- 


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (16 preceding siblings ...)
  2004-11-24  7:35 ` trapni at gentoo dot org
@ 2004-11-24 14:38 ` hjl at lucon dot org
  2004-12-09 17:54 ` brian dot morey at atk dot com
                   ` (2 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: hjl at lucon dot org @ 2004-11-24 14:38 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hjl at lucon dot org  2004-11-24 14:38 -------
I don't mind a big testcase as long as it is all I need on a regular Linux
installation.

-- 


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (17 preceding siblings ...)
  2004-11-24 14:38 ` hjl at lucon dot org
@ 2004-12-09 17:54 ` brian dot morey at atk dot com
  2005-06-27 14:31 ` marc dot price at rd dot bbc dot co dot uk
  2005-08-30  8:58 ` markus dot glaser at daimlerchrysler dot com
  20 siblings, 0 replies; 22+ messages in thread
From: brian dot morey at atk dot com @ 2004-12-09 17:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From brian dot morey at atk dot com  2004-12-09 17:54 -------
I am having this same issue with my code.  It's too large to commit but I will 
try and make a smaller test case out of it.

-- 


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (18 preceding siblings ...)
  2004-12-09 17:54 ` brian dot morey at atk dot com
@ 2005-06-27 14:31 ` marc dot price at rd dot bbc dot co dot uk
  2005-08-30  8:58 ` markus dot glaser at daimlerchrysler dot com
  20 siblings, 0 replies; 22+ messages in thread
From: marc dot price at rd dot bbc dot co dot uk @ 2005-06-27 14:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From marc dot price at rd dot bbc dot co dot uk  2005-06-27 14:31 -------
Has this bug been fixed yet?  Would really like to upgrade my linux box, but
can't because this bug prevents me from compiling a vital suite of software. 
Can we bump-up the priority?

TIA
Marc


-- 


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


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

* [Bug c++/16625] Discarded Linkonce sections in .rodata
  2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
                   ` (19 preceding siblings ...)
  2005-06-27 14:31 ` marc dot price at rd dot bbc dot co dot uk
@ 2005-08-30  8:58 ` markus dot glaser at daimlerchrysler dot com
  20 siblings, 0 replies; 22+ messages in thread
From: markus dot glaser at daimlerchrysler dot com @ 2005-08-30  8:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From markus dot glaser at daimlerchrysler dot com  2005-08-30 08:23 -------
also, not working with gcc-3.3.5, tested with linkoncedebug-0.0.1

-- 


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


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

end of thread, other threads:[~2005-08-30  8:23 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-19 10:59 [Bug c++/16625] New: Discarded Linkonce sections in .rodata wenzel at tu-harburg dot de
2004-07-19 10:59 ` [Bug c++/16625] " wenzel at tu-harburg dot de
2004-07-19 13:40 ` hjl at lucon dot org
2004-07-19 17:57 ` pinskia at gcc dot gnu dot org
2004-08-01  9:31 ` schwab at suse dot de
2004-08-01  9:33 ` schwab at suse dot de
2004-08-01 15:10 ` giovannibajo at libero dot it
2004-08-01 16:16 ` hjl at lucon dot org
2004-08-07 16:41 ` hjl at lucon dot org
2004-08-25  7:33 ` andrew at walrond dot org
2004-08-27 11:34 ` andrew at walrond dot org
2004-11-17 16:59 ` gustavo dot boiko at kdemail dot net
2004-11-23  9:19 ` trapni at gentoo dot org
2004-11-23 16:40 ` hjl at lucon dot org
2004-11-24  2:59 ` trapni at gentoo dot org
2004-11-24  3:19 ` trapni at gentoo dot org
2004-11-24  7:01 ` hjl at lucon dot org
2004-11-24  7:35 ` trapni at gentoo dot org
2004-11-24 14:38 ` hjl at lucon dot org
2004-12-09 17:54 ` brian dot morey at atk dot com
2005-06-27 14:31 ` marc dot price at rd dot bbc dot co dot uk
2005-08-30  8:58 ` markus dot glaser at daimlerchrysler dot com

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