Date: Sat, 28 Dec 2019 22:03:03 -0800 From: Mark Millard <marklmi@yahoo.com> To: FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD ports <freebsd-ports@freebsd.org> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: x11-toolkits/qt5-gui build on/for Cortex-A7 ( head -r356109 ) failed with: unable to execute command: Executable "as" doesn't exist Message-ID: <122B34CA-9CCC-4299-BB5C-F97D76C7426E@yahoo.com> References: <122B34CA-9CCC-4299-BB5C-F97D76C7426E.ref@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Is system-clang 9.0.1 supposed to implicitly try to use /usr/local/bin/as ? It does for this context . . . Note the -fno-integrated-as use in the later quoted log material. I'll also note that an experiment via -### shows that system-clang 9.0.1 then uses a command like (from a very simple example test): "/usr/local/bin/as" "-mfpu=3Dvfp" "-meabi=3D5" "-o" "a.o" = "/tmp/a-14ae2e.s" and that in turn presumes that devel/binutils has provided /usr/local/bin/as . That in turn means that, for ports-mgmt/poudriere-devel to work for x11-toolkits/qt5-gui , BUILD_DEPENDS=3D at-spi2-core>=3D0:accessibility/at-spi2-core \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ = ${LOCALBASE}/include/vulkan/vulkan.h:devel/vulkan-headers would need to also include (or the @native explicita-flavor variant): ${LOCALBASE}/bin/as:devel/binutils HOWEVER, I'm not sure if the implicit use of /usr/local/bin/as is intentional or not for system-clang. The failure report (1st error only, there were more): . . . --- .obj/pixman-arm-neon-asm.o --- cc -c -O2 -pipe -mcpu=3Dcortex-a7 -g -fstack-protector-strong -isystem = /usr/local/include -fno-strict-aliasing -std=3Dgnu11 -fvisibility=3Dhidden= -fno-exceptions -Wall -W -pthread -fPIC -DQT_ACCESSIBILITY -DQT_DBUS = -DQT_FONTCONFIG -DQT_FREETYPE -DQT_GLIB -DQT_IMAGEFORMAT_PNG -DQT_OPENGL = -DQT_SHAPE -DQT_XCB -DQT_XKB -DQT_XKBCOMMON -DQT_XRENDER = -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH -DENABLE_PIXMAN_DRAWHELPERS = -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_GUI_LIB = -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS = -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS = -DQT_DISABLE_DEPRECATED_BEFORE=3D0x050000 -DQT_NO_EXCEPTIONS = -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_CORE_LIB = -fno-integrated-as -I. -I../../include -I../../include/QtGui = -I../../include/QtGui/5.13.2 -I../../include/QtGui/5.13.2/QtGui = -I.tracegen -isystem /usr/local/include/libdrm -isystem = /usr/local/include/qt5/QtCore/5.13.2 -isystem = /usr/local/include/qt5/QtCore/5.13.2/QtCore -isystem = /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtCore -I.moc = -isystem /usr/local/include/libpng16 -isystem /usr/local/include = -I/usr/local/lib/qt5/mkspecs/freebsd-clang = ../3rdparty/pixman/pixman-arm-neon-asm.S -o .obj/pixman-arm-neon-asm.o . . . --- .obj/pixman-arm-neon-asm.o --- cc: error: unable to execute command: Executable "as" doesn't exist! cc: error: assembler command failed with exit code 1 (use -v to see = invocation) *** [.obj/pixman-arm-neon-asm.o] Error code 1 make[1]: stopped in = /wrkdirs/usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-src-5.13.2/= src/gui . . . For reference: Build based on ports-mgmt/pooudriere-devel . =46rom early in the log, showing compiler information: #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=3DFreeBSD clang version 9.0.1 = (git@github.com:llvm/llvm-project.git = c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1) Target: = armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: = /usr/bin _ALTCCVERSION_921dbbb2=3Dnone _CXXINTERNAL_acaad9ca=3DFreeBSD clang version 9.0.1 = (git@github.com:llvm/llvm-project.git = c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1) Target: = armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: = /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" = "/libexec/ld-elf.so.1" "--hash-style=3Dboth" "--enable-new-dtags" "-o" = "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" = "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" = "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" = "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=3Dyes CC_OUTPUT_921dbbb2_9bdba57c=3Dyes CC_OUTPUT_921dbbb2_6a4fe7f5=3Dyes CC_OUTPUT_921dbbb2_6bcac02b=3Dyes CC_OUTPUT_921dbbb2_67d20829=3Dyes CC_OUTPUT_921dbbb2_bfa62e83=3Dyes CC_OUTPUT_921dbbb2_f0b4d593=3Dyes CC_OUTPUT_921dbbb2_308abb44=3Dyes CC_OUTPUT_921dbbb2_f00456e5=3Dyes CC_OUTPUT_921dbbb2_65ad290d=3Dyes CC_OUTPUT_921dbbb2_f2776b26=3Dyes CC_OUTPUT_921dbbb2_b2657cc3=3Dyes CC_OUTPUT_921dbbb2_380987f7=3Dyes CC_OUTPUT_921dbbb2_160933ec=3Dyes CC_OUTPUT_921dbbb2_fb62803b=3Dyes _OBJC_CCVERSION_921dbbb2=3DFreeBSD clang version 9.0.1 = (git@github.com:llvm/llvm-project.git = c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1) Target: = armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: = /usr/bin _OBJC_ALTCCVERSION_921dbbb2=3Dnone ARCH=3Darmv7 OPSYS=3DFreeBSD _OSRELEASE=3D13.0-CURRENT OSREL=3D13.0 OSVERSION=3D1300069 PYTHONBASE=3D/usr/local _SMP_CPUS=3D4 CONFIGURE_MAX_CMD_LEN=3D262144 HAVE_PORTS_ENV=3D1 # uname -apKU FreeBSD OPiP2E 13.0-CURRENT FreeBSD 13.0-CURRENT #12 r356109M: Fri Dec = 27 17:24:56 PST 2019 = markmi@FBSDFHUGE:/usr/obj/armv7_clang/arm.armv7/usr/src/arm.armv7/sys/GENE= RIC-NODBG arm armv7 1300069 1300069 # cc -v FreeBSD clang version 9.0.1 (git@github.com:llvm/llvm-project.git = c1a0a213378a458fbea1a5c77b315c7dce08fd05) (based on LLVM 9.0.1) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /usr/bin # svnlite info /usr/ports/ Path: /usr/ports Working Copy Root Path: /usr/ports URL: svn://svn.freebsd.org/ports/head Relative URL: ^/head Repository Root: svn://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 520539 Node Kind: directory Schedule: normal Last Changed Author: ler Last Changed Rev: 520539 Last Changed Date: 2019-12-20 18:01:52 -0800 (Fri, 20 Dec 2019) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?122B34CA-9CCC-4299-BB5C-F97D76C7426E>