This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] gdb: btrace: fix build errors on older glibc builds


>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:

Mike> It is possible to have a build of glibc where SYS_perf_event_open is not
Mike> defined (because when the glibc was compiled, the syscall did not exist),
Mike> but have newer kernel headers installed so that linux/perf_event.h is
Mike> available.  In this setup, you get a build failure:

Mike> +/* Define to 1 if you have the <sys/syscall.h> header file. */
Mike> +#undef HAVE_SYS_SYSCALL_H 1

This line looks fishy.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]