Skip Menu |
 

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 93137
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: thomas.roos [...] csc.fi
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: unrecognized command line option "-fm64"
Date: Tue, 18 Feb 2014 17:27:37 +0200
To: bug-XML-LibXML [...] rt.cpan.org
From: Thomas Roos <thomas.roos [...] csc.fi>
Download (untitled) / with headers
text/plain 1.7k
Hi, We have run into problems installing XML::LibXML on Solaris 10. Notice that there is one --m64 option, i.e. with 2 dashes. This then apparently gets interpreted as “-fm64”, which is not a valid gcc option. $ /oracle/app/oracle/product/11.2.0/databaseX/perl/bin/perl -v This is perl, v5.10.0 built for sun4-solaris-thread-multi-64 $ uname -a SunOS hostX 5.10 Generic_150400-07 sun4u sparc SUNW,SPARC-Enterprise XML::LibXML version 2.0110 '$ /oracle/app/oracle/product/11.2.0/db_1/perl/bin/perl Makefile.PL XMLPREFIX=/opt/csw DEBUG=1 Use of uninitialized value $_ in length at inc/Devel/CheckLib.pm line 375. enable native perl UTF8 running xml2-config.../opt/csw/bin/xml2-config --version /opt/csw/bin/xml2-config --libs /opt/csw/bin/xml2-config --cflags ok (2.7.8) Use of uninitialized value $_ in length at inc/Devel/CheckLib.pm line 375. # /usr/sfw/bin/gcc -D_REENTRANT -m64 -DDEBUGGING -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 --m64 -L/opt/SUNWspro/WS6U1/lib/v9 -L/usr/lib/sparcv9 -L/usr/ccs/lib/sparcv9 -L/usr/local/lib -lsocket -lnsl -ldl -lm -lpthread -lc assertlibte_3vqov.c -I/opt/csw/include/libxml2 -o assertlibvuSaqNyM Checking for ability to link against xml2...cc1: error: unrecognized command line option "-fm64" # /usr/sfw/bin/gcc -D_REENTRANT -m64 -DDEBUGGING -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 --m64 -L/opt/SUNWspro/WS6U1/lib/v9 -L/usr/lib/sparcv9 -L/usr/ccs/lib/sparcv9 -L/usr/local/lib -lsocket -lnsl -ldl -lm -lpthread -lc assertlibPXKDzIJg.c -I/opt/csw/include/libxml2 -o assertlibWiKQFy8K cc1: error: unrecognized command line option "-fm64” ... Thomas
Download (untitled) / with headers
text/plain 2.4k
Hi Thomas, On Tue Feb 18 10:27:55 2014, thomas.roos@csc.fi wrote: Show quoted text
> Hi, > > We have run into problems installing XML::LibXML on Solaris 10. Notice > that there is one --m64 option, i.e. with 2 dashes. This then > apparently gets interpreted as “-fm64”, which is not a valid gcc > option. > > $ /oracle/app/oracle/product/11.2.0/databaseX/perl/bin/perl -v > This is perl, v5.10.0 built for sun4-solaris-thread-multi-64 >
perl-5.10.0 is old and was end-of-lifed (hell, even perl-5.14.0 was end-of-lifed). Show quoted text
> $ uname -a > SunOS hostX 5.10 Generic_150400-07 sun4u sparc SUNW,SPARC-Enterprise > > XML::LibXML version 2.0110 > > '$ /oracle/app/oracle/product/11.2.0/db_1/perl/bin/perl Makefile.PL > XMLPREFIX=/opt/csw DEBUG=1 > Use of uninitialized value $_ in length at inc/Devel/CheckLib.pm line > 375. > enable native perl UTF8 > running xml2-config.../opt/csw/bin/xml2-config --version > /opt/csw/bin/xml2-config --libs > /opt/csw/bin/xml2-config --cflags > ok (2.7.8) > Use of uninitialized value $_ in length at inc/Devel/CheckLib.pm line > 375. > # /usr/sfw/bin/gcc -D_REENTRANT -m64 -DDEBUGGING -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > --m64 -L/opt/SUNWspro/WS6U1/lib/v9 -L/usr/lib/sparcv9 > -L/usr/ccs/lib/sparcv9 -L/usr/local/lib -lsocket -lnsl -ldl -lm > -lpthread -lc assertlibte_3vqov.c -I/opt/csw/include/libxml2 -o > assertlibvuSaqNyM > Checking for ability to link against xml2...cc1: error: unrecognized > command line option "-fm64" > # /usr/sfw/bin/gcc -D_REENTRANT -m64 -DDEBUGGING -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > --m64 -L/opt/SUNWspro/WS6U1/lib/v9 -L/usr/lib/sparcv9 > -L/usr/ccs/lib/sparcv9 -L/usr/local/lib -lsocket -lnsl -ldl -lm > -lpthread -lc assertlibPXKDzIJg.c -I/opt/csw/include/libxml2 -o > assertlibWiKQFy8K > cc1: error: unrecognized command line option "-fm64” > ...
This seems like a problem with Devel::CheckLib or with the perl's ccoptions. Anyway, it seems like it's beyond our control given the Solaris/Oracle-RDBMS/gcc/SUNWspro/ancient-perl-5.10.0/whatever combo. If you can debug the problem (you can use perl’s "-d" flag or whatever for that) and fix it yourself that will be appreciated. I'm keeping this bug open for now awaiting your response. Regards, -- Shlomi Fish Show quoted text
> > Thomas
Download (untitled) / with headers
text/plain 291b
Can you please post the output of the following commands: perl -V xml2-config --libs xml2-config --cflags Also make sure that Perl, libxml2, and XML::LibXML are built with the same compiler. You can't mix gcc and the Solaris C compiler unless you really know what you're doing.
Subject: Re: [rt.cpan.org #93137] unrecognized command line option "-fm64"
Date: Fri, 4 Apr 2014 18:24:12 +0300
To: bug-XML-LibXML [...] rt.cpan.org
From: Thomas Roos <thomas.roos [...] csc.fi>
Download (untitled) / with headers
text/plain 2.8k
This turned out to be an editing mistake in Config_heavy.pl of this perl installation. —m64 instead of -m64. When corrected the newest version of XML::LibXML installed without problems. Thomas On 18 Feb 2014, at 17:27, Bugs in XML-LibXML via RT <bug-XML-LibXML@rt.cpan.org> wrote: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "unrecognized command line option "-fm64"", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #93137]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=93137 > > Please include the string: > > [rt.cpan.org #93137] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-XML-LibXML@rt.cpan.org > > ------------------------------------------------------------------------- > Hi, > > We have run into problems installing XML::LibXML on Solaris 10. Notice that there is one --m64 option, i.e. with 2 dashes. This then apparently gets interpreted as “-fm64”, which is not a valid gcc option. > > $ /oracle/app/oracle/product/11.2.0/databaseX/perl/bin/perl -v > This is perl, v5.10.0 built for sun4-solaris-thread-multi-64 > > $ uname -a > SunOS hostX 5.10 Generic_150400-07 sun4u sparc SUNW,SPARC-Enterprise > > XML::LibXML version 2.0110 > > '$ /oracle/app/oracle/product/11.2.0/db_1/perl/bin/perl Makefile.PL XMLPREFIX=/opt/csw DEBUG=1 > Use of uninitialized value $_ in length at inc/Devel/CheckLib.pm line 375. > enable native perl UTF8 > running xml2-config.../opt/csw/bin/xml2-config --version > /opt/csw/bin/xml2-config --libs > /opt/csw/bin/xml2-config --cflags > ok (2.7.8) > Use of uninitialized value $_ in length at inc/Devel/CheckLib.pm line 375. > # /usr/sfw/bin/gcc -D_REENTRANT -m64 -DDEBUGGING -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 --m64 -L/opt/SUNWspro/WS6U1/lib/v9 -L/usr/lib/sparcv9 -L/usr/ccs/lib/sparcv9 -L/usr/local/lib -lsocket -lnsl -ldl -lm -lpthread -lc assertlibte_3vqov.c -I/opt/csw/include/libxml2 -o assertlibvuSaqNyM > Checking for ability to link against xml2...cc1: error: unrecognized command line option "-fm64" > # /usr/sfw/bin/gcc -D_REENTRANT -m64 -DDEBUGGING -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 --m64 -L/opt/SUNWspro/WS6U1/lib/v9 -L/usr/lib/sparcv9 -L/usr/ccs/lib/sparcv9 -L/usr/local/lib -lsocket -lnsl -ldl -lm -lpthread -lc assertlibPXKDzIJg.c -I/opt/csw/include/libxml2 -o assertlibWiKQFy8K > cc1: error: unrecognized command line option "-fm64” > ... > > Thomas
Download (untitled) / with headers
text/plain 3.1k
Hi Thomas, On Fri Apr 04 11:24:29 2014, thomas.roos@csc.fi wrote: Show quoted text
> This turned out to be an editing mistake in Config_heavy.pl of this > perl installation. —m64 instead of -m64. When corrected the newest > version of XML::LibXML installed without problems. > > Thomas >
OK, thanks for the update. I'm resolving this ticket. -- Shlomi Fish Show quoted text
> On 18 Feb 2014, at 17:27, Bugs in XML-LibXML via RT <bug-XML- > LibXML@rt.cpan.org> wrote: >
> > > > Greetings, > > > > This message has been automatically generated in response to the > > creation of a trouble ticket regarding: > > "unrecognized command line option "-fm64"", > > a summary of which appears below. > > > > There is no need to reply to this message right now. Your ticket has > > been > > assigned an ID of [rt.cpan.org #93137]. Your ticket is accessible > > on the web at: > > > > https://rt.cpan.org/Ticket/Display.html?id=93137 > > > > Please include the string: > > > > [rt.cpan.org #93137] > > > > in the subject line of all future correspondence about this issue. To > > do so, > > you may reply to this message. > > > > Thank you, > > bug-XML-LibXML@rt.cpan.org > > > > ------------------------------------------------------------------------- > > Hi, > > > > We have run into problems installing XML::LibXML on Solaris 10. > > Notice that there is one --m64 option, i.e. with 2 dashes. This then > > apparently gets interpreted as “-fm64”, which is not a valid gcc > > option. > > > > $ /oracle/app/oracle/product/11.2.0/databaseX/perl/bin/perl -v > > This is perl, v5.10.0 built for sun4-solaris-thread-multi-64 > > > > $ uname -a > > SunOS hostX 5.10 Generic_150400-07 sun4u sparc SUNW,SPARC-Enterprise > > > > XML::LibXML version 2.0110 > > > > '$ /oracle/app/oracle/product/11.2.0/db_1/perl/bin/perl Makefile.PL > > XMLPREFIX=/opt/csw DEBUG=1 > > Use of uninitialized value $_ in length at inc/Devel/CheckLib.pm line > > 375. > > enable native perl UTF8 > > running xml2-config.../opt/csw/bin/xml2-config --version > > /opt/csw/bin/xml2-config --libs > > /opt/csw/bin/xml2-config --cflags > > ok (2.7.8) > > Use of uninitialized value $_ in length at inc/Devel/CheckLib.pm line > > 375. > > # /usr/sfw/bin/gcc -D_REENTRANT -m64 -DDEBUGGING -I/usr/local/include > > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -D_LARGEFILE_SOURCE > > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > > --m64 -L/opt/SUNWspro/WS6U1/lib/v9 -L/usr/lib/sparcv9 > > -L/usr/ccs/lib/sparcv9 -L/usr/local/lib -lsocket -lnsl -ldl -lm > > -lpthread -lc assertlibte_3vqov.c -I/opt/csw/include/libxml2 -o > > assertlibvuSaqNyM > > Checking for ability to link against xml2...cc1: error: unrecognized > > command line option "-fm64" > > # /usr/sfw/bin/gcc -D_REENTRANT -m64 -DDEBUGGING -I/usr/local/include > > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -m64 -D_LARGEFILE_SOURCE > > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > > --m64 -L/opt/SUNWspro/WS6U1/lib/v9 -L/usr/lib/sparcv9 > > -L/usr/ccs/lib/sparcv9 -L/usr/local/lib -lsocket -lnsl -ldl -lm > > -lpthread -lc assertlibPXKDzIJg.c -I/opt/csw/include/libxml2 -o > > assertlibWiKQFy8K > > cc1: error: unrecognized command line option "-fm64” > > ... > > > > Thomas


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.