[Bug 166252] Review Request: perl-Gnome2-Canvas

bugzilla at redhat.com bugzilla at redhat.com
Sat Aug 20 03:41:06 UTC 2005


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: perl-Gnome2-Canvas


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=166252





------- Additional Comments From rc040203 at freenet.de  2005-08-19 23:40 EST -------
(In reply to comment #3)
> (In reply to comment #2)
> > # rpmbuild -ba perl-Gnome2-Canvas.spec
> > ..
> > Unrecognized argument in LIBS ignored: '-pthread'
> > ..

BTW: The warning originates from ExtUtils::MakeMaker composing its linker flags.
It doesn't reckognize -pthread as library, and filters it out. On FC4/i386,
-pthread is a linker short cut to -lpthread, i.e. -pthread is a valid linker
flag and should not be filtered out.

Whether having -pthread in libs is clever design is a different question.

> did you do this build on a rawhide box an x86-64 rawhide box?
Nope - FC4/i386

> that system just fine, as well as building on one of my x86 fc4 desktops. 

When you check the build logs, you'll notice that -pthread is being used during
compilation:
...
 gcc ... -pthread ...
...

but is being dropped during linkage:
...
gcc  -shared -L/usr/local/lib xs/GnomeCanvas.o xs/GnomeCanvasBpath.o
xs/GnomeCanvasItem.o xs/GnomeCanvasPathDef.o xs/GnomeCanvasRichText.o
xs/GnomeCanvasShape.o xs/GnomeCanvasUtil.o -o
blib/arch/auto/Gnome2/Canvas/Canvas.so  
-lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lgthread-2.0
...

=> Canvas.so is not explicitly linked against -lpthread.

The question now is, if this has a functional impact on this package or not.

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-extras-list mailing list