This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Commit a0486bac41d6ce47f27795a5abbca5cc53ddba00 breaks build on FreeBSD 12
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: gdb-patches at sourceware dot org
- Cc: "Jose E. Marchesi" <jose dot marchesi at oracle dot com>
- Date: Mon, 3 Jun 2019 11:07:08 +0200
- Subject: Commit a0486bac41d6ce47f27795a5abbca5cc53ddba00 breaks build on FreeBSD 12
Hello Jose,
commit a0486bac41d6ce47f27795a5abbca5cc53ddba00
Author: Jose E. Marchesi <jose.marchesi@oracle.com>
Date: Fri May 31 11:10:51 2019 +0200
libctf: fix a number of build problems found on Solaris and NetBSD
breaks the build on FreeBSD 12:
/usr/bin/cc -O2 -pipe -fbracket-depth=1024
-I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-aarch64.bset/usr/local/rtems/5/include
-DHAVE_CONFIG_H -I.
-I../../sourceware-mirror-binutils-gdb-4f6d070adb/libctf -D_GNU_SOURCE
-I../../sourceware-mirror-binutils-gdb-4f6d070adb/libctf
-I../../sourceware-mirror-binutils-gdb-4f6d070adb/libctf/../include
-I../../sourceware-mirror-binutils-gdb-4f6d070adb/libctf/../bfd
-I../bfd -std=gnu99 -Wall -W -Wall -Wno-narrowing -Wwrite-strings
-Wmissing-format-attribute -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -pedantic -Wno-long-long
-I../../sourceware-mirror-binutils-gdb-4f6d070adb/libctf/../zlib -MT
qsort_r.o -MD -MP -MF .deps/qsort_r.Tpo -c -o qsort_r.o
../../sourceware-mirror-binutils-gdb-4f6d070adb/libctf/qsort_r.c
../../sourceware-mirror-binutils-gdb-4f6d070adb/libctf/qsort_r.c:99:1:
error: conflicting types for 'qsort_r'
_quicksort (void *const pbase, size_t total_elems, size_t size,
^
../../sourceware-mirror-binutils-gdb-4f6d070adb/libctf/qsort_r.c:33:21:
note: expanded from macro '_quicksort'
# define _quicksort qsort_r
^
/usr/include/stdlib.h:300:7: note: previous declaration is here
void qsort_r(void *, size_t, size_t, void *,
^
1 error generated.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.