mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Juergen Borleis <jbe@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Patrick Murray <Patrick.Murray@daktronics.com>
Subject: [ptxdist] Fwd: Re: configure: error: cannot run C compiled programs
Date: Fri, 12 Apr 2019 14:29:01 +0200	[thread overview]
Message-ID: <201904121429.01610.jbe@pengutronix.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1289 bytes --]

Hi Pat,

> I apologise for mailing you direct , but from this link
>
> https://www.ptxdist.org/pages/support.html
>
> It's not clear how querys are submitted.

just subscribe to the list (by sending an email with the subject "subscribe" 
to <ptxdist-request@pengutronix.de>) and then send the message itself to 
the list via <ptxdist@pengutronix.de> :)

----------  Forwarded Message  ----------
I have installed ptxdist version 2019.03.1 onto a new Ubuntu host and I have 
tried to migrate my i.MX6 ptxdist (last used with version 2012.03.0 ) , 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.

I searched the support history but could see in 2015 someon had the same 
issue, but there was Resolution posted. I would appreciate your guidance.

Kinds regards
Pat

p.s. I have attached the config.log
-------------------------------------------------------

Cheers,
Juergen

-- 
Pengutronix e.K.                             | Juergen Borleis             |
Industrial Linux Solutions                   | http://www.pengutronix.de/  |

[-- Attachment #2: config.log --]
[-- Type: application/octet-stream, Size: 10713 bytes --]

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by pkg-config configure 0.29.2, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix= --disable-host-tool --with-internal-glib

## --------- ##
## Platform. ##
## --------- ##

hostname = CNU35294ZR
uname -m = x86_64
uname -r = 4.18.0-10-generic
uname -s = Linux
uname -v = #11-Ubuntu SMP Thu Oct 11 15:13:55 UTC 2018

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/sysroot-host/lib/wrapper
PATH: /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/sysroot-host/bin
PATH: /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/sysroot-host/sbin
PATH: /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/selected_toolchain
PATH: /opt/lib/ptxdist-2019.03.1/bin
PATH: /opt/OSELAS.Toolchain-2016.06.0/arm-v5te-linux-gnueabi/gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized/arm-v5te-linux-gnueabi/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
PATH: /opt/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2328: checking for a BSD-compatible install
configure:2396: result: /opt/lib/ptxdist-2019.03.1/bin/install -c
configure:2407: checking whether build environment is sane
configure:2462: result: yes
configure:2613: checking for a thread-safe mkdir -p
configure:2652: result: /opt/lib/ptxdist-2019.03.1/bin/mkdir -p
configure:2659: checking for gawk
configure:2675: found /usr/bin/gawk
configure:2686: result: gawk
configure:2697: checking whether make sets $(MAKE)
configure:2719: result: yes
configure:2748: checking whether make supports nested variables
configure:2765: result: yes
configure:2922: checking build system type
configure:2936: result: x86_64-unknown-linux-gnu
configure:2956: checking host system type
configure:2969: result: x86_64-unknown-linux-gnu
configure:3010: checking how to print strings
configure:3037: result: printf
configure:3070: checking for style of include used by make
configure:3098: result: GNU
configure:3169: checking for gcc
configure:3196: result: gcc
configure:3425: checking for C compiler version
configure:3434: gcc --version >&5
gcc (Ubuntu 8.2.0-7ubuntu1) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3445: $? = 0
configure:3434: gcc -v >&5
Using built-in specs.
COLLECT_GCC=/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/sysroot-host/lib/wrapper/real/gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 8.2.0-7ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
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.
configure:3445: $? = 1
configure:3434: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3445: $? = 1
configure:3465: checking whether the C compiler works
configure:3487: gcc    conftest.c  >&5
as: unrecognized option '--64'
configure:3491: $? = 1
configure:3529: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pkg-config"
| #define PACKAGE_TARNAME "pkg-config"
| #define PACKAGE_VERSION "0.29.2"
| #define PACKAGE_STRING "pkg-config 0.29.2"
| #define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=pkg-config"
| #define PACKAGE_URL ""
| #define PACKAGE "pkg-config"
| #define VERSION "0.29.2"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3534: error: in `/opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-host/pkg-config-0.29.2':
configure:3536: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_GLIB_CFLAGS_set=
ac_cv_env_GLIB_CFLAGS_value=
ac_cv_env_GLIB_LIBS_set=
ac_cv_env_GLIB_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_TESTS_SHELL_set=
ac_cv_env_TESTS_SHELL_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_path_install='/opt/lib/ptxdist-2019.03.1/bin/install -c'
ac_cv_path_mkdir=/opt/lib/ptxdist-2019.03.1/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-host/pkg-config-0.29.2/missing aclocal-1.15'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR=''
AUTOCONF='${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-host/pkg-config-0.29.2/missing autoconf'
AUTOHEADER='${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-host/pkg-config-0.29.2/missing autoheader'
AUTOMAKE='${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-host/pkg-config-0.29.2/missing automake-1.15'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GCOV=''
GCOV_CFLAGS=''
GLIB_CFLAGS=''
GLIB_LIBS=''
GREP=''
HOST_TOOL_FALSE=''
HOST_TOOL_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTERNAL_GLIB_FALSE=''
INTERNAL_GLIB_TRUE=''
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-host/pkg-config-0.29.2/missing makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/opt/lib/ptxdist-2019.03.1/bin/mkdir -p'
NATIVE_WIN32_FALSE=''
NATIVE_WIN32_TRUE=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='pkg-config'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=pkg-config'
PACKAGE_NAME='pkg-config'
PACKAGE_STRING='pkg-config 0.29.2'
PACKAGE_TARNAME='pkg-config'
PACKAGE_URL=''
PACKAGE_VERSION='0.29.2'
PATH_SEPARATOR=':'
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
STRIP=''
TESTS_PKG_CONFIG=''
TESTS_SHELL=''
VERSION='0.29.2'
WARN_CFLAGS=''
WINE=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /opt/PHYTEC_BSPs/BSP-Phytec-phyFLEX-i.MX6-PD13.2.4/platform-phyFLEX-i.MX6/build-host/pkg-config-0.29.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
native_win32=''
oldincludedir='/usr/include'
pc_path=''
pdfdir='${docdir}'
prefix=''
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
system_include_path=''
system_library_path=''
target_alias=''
use_indirect_deps=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "pkg-config"
#define PACKAGE_TARNAME "pkg-config"
#define PACKAGE_VERSION "0.29.2"
#define PACKAGE_STRING "pkg-config 0.29.2"
#define PACKAGE_BUGREPORT "https://bugs.freedesktop.org/enter_bug.cgi?product=pkg-config"
#define PACKAGE_URL ""
#define PACKAGE "pkg-config"
#define VERSION "0.29.2"

configure: exit 77

[-- Attachment #3: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2019-04-12 12:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-12 12:29 Juergen Borleis [this message]
2019-04-12 13:29 ` Ian Abbott

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201904121429.01610.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=Patrick.Murray@daktronics.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox