[PATCH] vxworks: Fix GCC selftests for *-wrs-vxworks7-* targets

Iain Buclaw ibuclaw@gdcproject.org
Thu Aug 20 12:54:08 GMT 2020

Excerpts from Olivier Hainque's message of August 20, 2020 11:01 am:
> Hello Iain,
>> On 19 Aug 2020, at 14:17, Iain Buclaw <ibuclaw@gdcproject.org> wrote:
>> Ah, no worries, attached updated patch.
>> As we have discussed this off the lists though, we agreed to compromise
>> and leave -nostdinc as it is in SELFTEST_FLAGS.
>> Iain.
>> ---
>> gcc/ChangeLog:
>> 	* config/vxworks.h (VXWORKS_ADDITIONAL_CPP_SPEC): Don't include
>> 	VxWorks header files if -fself-tests is used.
>> 	(STARTFILE_PREFIX_SPEC): Avoid using VSB_DIR if -fself-tests is used.
> OK, nit on the ChangeLog: this is -fself-test (no trailing s).
> We have a batch of vxworks changes queued that we will be submitting soon,
> and we might get to rationalize this with other places along the way.

Running the build through one more time, and I've noticed that the make
recipe macro_list also triggers a VSB_DIR not defined error.

However unlike selftests, it does not result in a failed build, so
probably only a minor concern.


More information about the Gcc-patches mailing list