develooper Front page | perl.perl5.porters | Postings from July 2005

Re: [perl #36235] perl + gcc-4.0.0 + solaris + gnu binutils

From:
Andy Dougherty
Date:
July 25, 2005 12:01
Subject:
Re: [perl #36235] perl + gcc-4.0.0 + solaris + gnu binutils
Message ID:
Pine.SOC.4.62.0507251455130.22353@maxwell.phys.lafayette.edu
On Thu, 10 Jun 2005, Niki W. Waibel wrote:

> # New Ticket Created by  "Niki W. Waibel" 
> # Please include the string:  [perl #36235]
> # in the subject line of all future correspondence about this issue. 
> # <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=36235 >
> 
> 
> perl on solaris using gcc-3.X and gnu binutils correctly adds -Wl,-E to
> to LDFLAGS. it seems that the detection of the gnu binutils is somehow
> broken if gcc-4.X is used.

The detection is done in hints/solaris_2.sh.  It's quite possible that the 
output of gcc has changed such that the hints file doesn't pick it up 
correctly anymore.

Could you please create a trivial "Hello world" C program and then compile 
it with

	gcc-3.X -v -o hello hello.c > gcc3.out 2>&1
	gcc-3.X -Wl,-V -o hello hello.c > gcc3-Wl.out 2>&1
	gcc-4.0 -v -o hello hello.c > gcc4.out 2>&1
	gcc-4.0 -Wl,-V -o hello hello.c > gcc4-Wl.out 2>&1

(adjusting the exact gcc names as needed.)

and send me the various *.out files?  Then perhaps I can see
why the hints/solaris_2.sh file is failing.

-- 
    Andy Dougherty		doughera@lafayette.edu



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About