It is reading the header file in my host system, should it be doing
that in stage1?
Anyway, I inserted this into /usr/include/x86_64-linux-gnu/sys/cdefs.h:
--------------------------
/* Convenience macros to test the version of gcc. */
#undef __GNUC_PREREQ
#if defined __GNUC__ && defined __GNUC_MINOR__
# define __GNUC_PREREQ(maj, min) \
((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min))
#else
# define __GNUC_PREREQ(maj, min) 0
#endif
---------------------------
Which seems to have fixed it, but then it has stopped on another error
in another header file in my host system.
On 6/6/16, Barry Kauler <[email protected]> wrote:
> Continuing the "generic" x32 build, dietlibc has failed at stage1.
>
> ---------------------
> x86_64-t2-linux-gnux32-cc -I. -isystem include -Os -fstrict-aliasing
> -momit-leaf-frame-pointer -mfancy-math-387 -W -Wall -Wextra
> -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations
> -Wno-switch -Wno-unused -Wredundant-decls -c dyn_start.c -o
> bin-x86_64/dyn_start.o -D__dietlibc__
> In file included from dyn_start.c:4:0:
> /usr/include/x86_64-linux-gnu/sys/cdefs.h:41:20: error: missing binary
> operator before token "("
> # if __GNUC_PREREQ (4, 6) && !defined _LIBC
> ---------------------
>
> Rene,
> does that error mean anything to you? It is that "(" it is objecting to.
>
> Regards,
> Barry
>
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2