Problem with -m64 on Solaris 11

Sascha Frick frick@zib.de
Fri Sep 9 09:53:00 GMT 2016


On Fr, 2016-09-09 at 10:37 +0100, Jonathan Wakely wrote:
> On 8 September 2016 at 17:11, Sascha Frick wrote:
> > 
> > It seems that the -m64 option, which is necessary for compiling and
> > linking makes some problems when the assembler is
> > being started. Is there a way to prevent gcc from adding -m64 to
> > the
> > assembly process?
> 
> If GCC is adding flags that don't work with the assembler then it
> suggests to me that the assembler is not the same one that was
> present
> when GCC was configured (GCC should know the right flags  to use).
> 
> Did someone install GCC, and then later change the binutils that is
> installed? When you say "live with what is there", how did they get
> there?
Hi Jonathan,

thank you for your interest.

I gave a list of packages I needed to be installed to the admin of the
system. These are the packages I need to build hpn-openssh and he
installed them all from https://www.opencsw.org I think.

Here is the List I gave him:

Build dependencies:
Package: coreutils      (8.22,REV=2014.06.14)
Package: autoconf       (2.69,REV=2012.04.25)
Package: gcc5core       (5.2.0,REV=2015.07.31)
Package: perl           (5.10.1,REV=2012.07.24)
Package: gmake          (4.2.1,REV=2016.08.04)
Package: gsed           (4.2.2,p,REV=2012.12.26)
Package: gpatch         (2.7.1,REV=2013.10.01)

Runtime and build dependencies:
Package: libz1          (1.2.8,REV=2013.09.23)
Package: libz_dev       (1.2.8,REV=2013.09.23)
Package: libssl1_0_0    (1.0.1t,REV=2016.05.03)
Package: libssl_dev     (1.0.1t,REV=2016.05.03) 
Package: libldns1       (1.6.17,REV=2014.04.06)
Package: libldns_dev    (1.6.17,REV=2014.04.06)
Package: libedit0       (20130712_3.1,REV=2014.01.01)
Package: libedit_dev    (20130712_3.1,REV=2014.01.01)


gcc came from the gcc5core package and the Assembler is in a package
called binutils as a dependency for gcc.

I hope this helps you to help me,
Sascha

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7508 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20160909/4e2c02a0/attachment.bin>


More information about the Gcc-help mailing list