FreeBSDFoundation / freebsd

FreeBSD source tree for FreeBSD Foundation-sponsored projects
https://www.freebsdfoundation.org/
Other
9 stars 3 forks source link

Get lint building on arm64 - need stdarg va_start, va_arg #4

Open emaste opened 9 years ago

emaste commented 9 years ago

As noted in 4d65d36c637a793258686f442778d8dffd738b04

zxombie commented 9 years ago

Lint should build, it just won't run with anything that includes <machine/stdarg.h> or . the latter is a symlink to the former. It looks like it runs as part of the build process so will stop the build.

To fix it we need to add macros for va_start, etc.

emaste commented 9 years ago

It looks like it runs as part of the build process so will stop the build.

I did not look in detail, just noticed that lint caused buildworld to fail. It seems odd to me that it's run during the build, but then I guess there are a number of oddities in our build.

emaste commented 9 years ago

Failure is:

In file included from /tank/emaste/src/freebsd-arm64/usr.bin/xlint/llib/llib-lstdc:47:
/tank/emaste/obj/arm64.aarch64/tank/emaste/src/freebsd-arm64/tmp/usr/include/stdarg.h:63:2: error: no support for your compiler
#error no support for your compiler
 ^