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

bugzilla at redhat.com bugzilla at redhat.com
Thu Aug 25 14:26:07 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-25 10:25 EST -------
(In reply to comment #12)
> (In reply to comment #10)
> 
> Okay so I've done some more testing beyond the supplied demo program. Whatever
> the build error is that is producing the "Unrecognized argument in LIBS ignored:
> '-pthread'" message it doesn't appear to be causing a functional problem on my
> system.

-pthread, when being passed to the linker, is expands to -lpthread on i386
[It is a gcc-spec macro; c.f. the lib: rule in gcc -dumpspecs]

>  but it doesn't appear to be having a functional impact
As long as -pthread expands only to '-l*' containing libraries on the library
search path, this won't have any functional impact. 

However, you can't rely upon this, because GCC can change this at any time and
because GCC can apply target specific linker flags there.

I.e. Gnone2-Canvas probably is functional on all targets where GCC expands
-pthread to -lpthread, but is likely not to work on other targets and also is
not unlikely to break with future GCC updates.

> -pthread is a valid argument to both the linker and to gcc so I'm not really
> sure why Makefile.PL is throwing the arguments away. 
ExtUtils::MakeMaker only lets -l and -L flags pass through and filters out
anything else.

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