This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH libctf] Fix a number of build problems found on Solaris and NetBSD
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: Nick Alcock <nick dot alcock at oracle dot com>, binutils at sourceware dot org
- Cc: Nick Clifton <nickc at redhat dot com>, Szabolcs Nagy <nsz at port70 dot net>, christophe dot lyon at linaro dot org, Rainer Orth <ro at cebitec dot uni-bielefeld dot de>, Simon Marchi <simark at simark dot ca>, Kamil Rytarowski <n54 at gmx dot com>, "Jose E. Marchesi" <jose dot marchesi at oracle dot com>
- Date: Mon, 3 Jun 2019 11:10:33 +0200
- Subject: Re: [PATCH libctf] Fix a number of build problems found on Solaris and NetBSD
- References: <8736kw2h5b.fsf@esperi.org.uk>
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.