Am 29.08.2017 um 17:39 schrieb Jeff Mayes: > Hi > > > > I’m trying to build rtems and rtems-libbsd. It all goes fine until the > waf build fails with this: > > / Checking for RTEMS CPU options header : no/ > > > > This occurs for both i386 and arm. Part of the config.log is below. > > > > Any ideas? > > Thanks > Jeff >
Hello Jeff, just tried to build the xylinx_zynq_zedboard BSP without any problems. What is really odd from your log is the > err: Assembler messages: > > Fatal error: invalid -march= option: `armv7-a' How did you build your tool chain? For my test, I used one from a slightly outdated (about a month) RSB revision 295c197b51 because I had that one already built. libbsd and RTEMS are about one month old too. Which revision Do you use? On what host system do you work? Kind regards Christian > > > > > > > Compiler version (arm-rtems4.12-gcc) > > 7.2.0 20170814 (RTEMS 4.12, RSB > 4f364ef763f6c08bf9ba7ac3ede2a4288fdd517c, Newlib 2.5.0.20170818) > > Opening and load pkgconfig: > /home/mayes/dev/rtems/4.12/lib/pkgconfig/arm-rtems4.12-xilinx_zynq_zedboard.pc > > ----------------------------------------- > > CFLAGS -> > > -qrtems -B/home/mayes/dev/rtems/4.12/arm-rtems4.12/lib/ > -B/home/mayes/dev/rtems/4.12/arm-rtems4.12/xilinx_zynq_zedboard/lib/ > --specs bsp_specs -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard > -mtune=cortex-a9 -O2 -g -ffunction-sections -fdata-sections -Wall > -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes > -Wnested-externs > > LDFLAGS -> > > pkconfig warning: Label not found: LDFLAGS > > > > LIB -> > > pkconfig warning: Label not found: LIB > > > > -------------------------------------------- > > Checking for RTEMS CPU options header > > ==> > > #include <rtems/score/cpuopts.h> > > > > int main(int argc, char **argv) { > > (void)argc; (void)argv; > > return 0; > > } > > > > <== > > [1/2] Compiling > _[32mbuild/.conf_check_122a9fe5b1fee9ea5238dc4154037b18/test.cpp_[0m > > > > ['/home/mayes/dev/rtems/4.12/bin/arm-rtems4.12-g++', '-qrtems', > '-B/home/mayes/dev/rtems/4.12/arm-rtems4.12/lib/', > '-B/home/mayes/dev/rtems/4.12/arm-rtems4.12/xilinx_zynq_zedboard/lib/', > '--specs', 'bsp_specs', '-march=armv7-a', '-march=armv7-a', '-mthumb', > '-mthumb', '-mfpu=neon', '-mfpu=neon', '-mfloat-abi=hard', > '-mfloat-abi=hard', '-mtune=cortex-a9', '-mtune=cortex-a9', > '-ffunction-sections', '-ffunction-sections', '-fdata-sections', > '-fdata-sections', '../test.cpp', '-c', '-o', > '/home/mayes/dev/rtems-libbsd/build/.conf_check_122a9fe5b1fee9ea5238dc4154037b18/testbuild/test.cpp.1.o'] > > err: Assembler messages: > > Fatal error: invalid -march= option: `armv7-a' > > > > from /home/mayes/dev/rtems-libbsd: Test does not build: Traceback (most > recent call last): > > File > "/home/mayes/bin/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Configure.py", > line 335, in run_build > > bld.compile() > > File > "/home/mayes/bin/.waf-1.8.20-c859ca7dc3693011756f4edf45c36626/waflib/Build.py", > line 185, in compile > > raise Errors.BuildError(self.producer.error) > > BuildError: Build failed > > -> task in 'testprog' failed (exit status 1): > > {task 28291600: cxx test.cpp -> test.cpp.1.o} > > ['/home/mayes/dev/rtems/4.12/bin/arm-rtems4.12-g++', '-qrtems', > '-B/home/mayes/dev/rtems/4.12/arm-rtems4.12/lib/', > '-B/home/mayes/dev/rtems/4.12/arm-rtems4.12/xilinx_zynq_zedboard/lib/', > '--specs', 'bsp_specs', '-march=armv7-a', '-march=armv7-a', '-mthumb', > '-mthumb', '-mfpu=neon', '-mfpu=neon', '-mfloat-abi=hard', > '-mfloat-abi=hard', '-mtune=cortex-a9', '-mtune=cortex-a9', > '-ffunction-sections', '-ffunction-sections', '-fdata-sections', > '-fdata-sections', '../test.cpp', '-c', '-o', > '/home/mayes/dev/rtems-libbsd/build/.conf_check_122a9fe5b1fee9ea5238dc4154037b18/testbuild/test.cpp.1.o'] > > > > > > _______________________________________________ > devel mailing list > devel@rtems.org > http://lists.rtems.org/mailman/listinfo/devel > _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel