On Fri, Apr 12, 2019 at 02:33:34PM +0100, Ian Abbott wrote:
> On 12/04/2019 13:33, Patrick Murray wrote:
> > I have installed ptxdist version 2019.03.1 onto a new Ubuntu host and I
> > have tried to migrate my i.MX6 BSP (last used with version 2012.03.0 )
> > to 2019.03.1  , but
> > 
> > I am getting this build-host error  with gcc and pkg-configure
> > 
> > gcc version 8.2.0 (Ubuntu 8.2.0-7ubuntu1)
> > 
> > configure:3445: $? = 0
> > 
> > configure:3434: gcc -V >&5
> > 
> > gcc: error: unrecognized command line option '-V'
> > 
> > gcc: fatal error: no input files
> > 
> > compilation terminated.
> 
> Comparing with my own config.log for build-host/pkg-conf-g-0.29.2, the
> problem seems to be here:
> 
> > configure:3465: checking whether the C compiler works
> > configure:3487: gcc    conftest.c  >&5
> > as: unrecognized option '--64'
> 
> Is there something wrong with your host's binutils installation?  What does
> `as --version` report?

Also, run ptxdist with '-v' and take a look at platform-xxxx/logfile.
Any call to 'gcc' will be logged here with all arguments. It will probably
be the last 'wrapper: gcc ...' line in that file.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to