Building 3.7-p1 on i686-pc-linux-gnu for execution oni386-pc-linux-gnu

Ben Lindstrom mouring at etoh.eviladmin.org
Fri Apr 9 06:22:01 EST 2004


What may be more helpful would be if you had gdb and see what aspect of
the code is failing with "Illegal instruction".  That way one can know
what the issue is.

For all we know your build platform compiler could be be inserting code
that it should not be from your environment.

- Ben


On Thu, 8 Apr 2004, Weber, Michael J. (US SSA) wrote:

> Peter, thanks for the idea! I did it exactly as you described... and I
> still get "Illegal instruction" on the 386 platform.
>
> I also tried
>
> # CFLAGS='-mcpu=i386 -march=i386' ./configure --prefix=/my/prefix/here
>
> and
>
> # CFLAGS="-mcpu=i386 -march=i386" ./configure --prefix=/my/prefix/here
>
> just for grins, and all had the same result.
>
> Still trying...
>
> Thanks,
> Mike
>
> > -----Original Message-----
> > From:
> > openssh-unix-dev-bounces+michael.weber=baesystems.com at mindrot.
> > org
> > [mailto:openssh-unix-dev-bounces+michael.weber=baesystems.com@
> > mindrot.org] On Behalf Of Peter Stuge
> > Sent: Thursday, April 08, 2004 3:14 PM
> > To: openssh-unix-dev at mindrot.org
> > Subject: Re: Building 3.7-p1 on i686-pc-linux-gnu for
> > execution oni386-pc-linux-gnu
> >
> >
> > On Thu, Apr 08, 2004 at 12:24:19PM -0400, Weber, Michael J.
> > (US SSA) wrote:
> > > I have tried putting -march=i386 and -mcpu=i386 on the command line
> > > before running configure, but it doesn't work
> >
> > How did you do this, exactly?
> >
> > Try:
> >
> > $ CFLAGS=-mcpu=i386 ./configure
> >
> >
> > //Peter
> >
> > _______________________________________________
> > openssh-unix-dev mailing list
> > openssh-unix-dev at mindrot.org
> > http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
> >
>
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
>




More information about the openssh-unix-dev mailing list