[Buildroot] [Bug 5900] config flags to the Xenomai build system ...

bugzilla at busybox.net bugzilla at busybox.net
Wed Jul 16 19:38:02 UTC 2014


https://bugs.busybox.net/show_bug.cgi?id=5900

--- Comment #5 from Thomas De Schampheleire <patrickdepinguin at gmail.com> 2014-07-16 19:38:01 UTC ---
I tried reproducing this issue. Since I don't have a target board to test with,
I have to resort to checking the parameters passed to the compilation.

Since I believe that the FPU support check you are referring to in the
testsuite originates from the 'switchtest', I checked with strace which
parameters are passed to the real compiler (by the compiler wrapper):

execve("/home/tdescham/repo/contrib/buildroot-reproduce/output/host/opt/ext-toolchain/bin/arm-none-linux-gnueabi-gcc",
["/home/tdescham/repo/contrib/buildroot-reproduce/output/host/opt/ext-toolchain/bin/arm-none-linux-gnueabi-gcc",
"--sysroot",
"/home/tdescham/repo/contrib/buildroot-reproduce/output/host/usr/arm-buildroot-linux-gnueabi/sysroot",
"-mabi=aapcs-linux", "-msoft-float", "-marm", "-pipe", "-mfloat-abi=soft",
"-march=armv4t", "-mcpu=arm920t", "-DHAVE_CONFIG_H", "-I.",
"-I../../../src/include", "-I../../../include/posix", "-O2", "-D_GNU_SOURCE",
"-D_REENTRANT", "-Wall", "-Werror-implicit-function-declaration", "-pipe",
"-D__XENO__", "-D__IN_XENO__", "-Wstrict-prototypes", "-g",
"-I../../../include", "-D_LARGEFILE_SOURCE", "-D_LARGEFILE64_SOURCE",
"-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE_SOURCE", "-D_LARGEFILE64_SOURCE",
"-D_FILE_OFFSET_BITS=64", "-pipe", "-Os", "-MT", "switchtest-switchtest.o",
"-MD", "-MP", "-MF", ".deps/switchtest-switchtest.Tpo", "-c", "-o",
"switchtest-switchtest.o", "switchtest.c"], [/* 54 vars */]) = 0



This shows that the requested flags are effectively passed to the compilation,
so I don't expect issues. 

This was checked with an external sourcery toolchain. The defconfig (buildroot
2014.05-git) is:

BR2_arm=y
BR2_arm920t=y
BR2_DL_DIR="~/repo/contrib/dl"
BR2_TOOLCHAIN_EXTERNAL=y
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_DEFCONFIG="mx1"
BR2_LINUX_KERNEL_EXT_XENOMAI=y

(don't mind the kernel defconfig, it is bogus).

So at this point, we believe that there is no issue.

If you do believe there is an issue, then please:
- provide a .config for us to reproduce
- provide more details / confirmation about the test that fails (switchtest?)
- verify the output of strace as I did above

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the buildroot mailing list