Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Sebastian Huber <sebastian.huber@embedded-brains.de>
To: gdb-patches@sourceware.org
Cc: "Jose E. Marchesi" <jose.marchesi@oracle.com>
Subject: Commit a0486bac41d6ce47f27795a5abbca5cc53ddba00 breaks build on FreeBSD 12
Date: Mon, 03 Jun 2019 09:07:00 -0000	[thread overview]
Message-ID: <de514531-98eb-3f5b-9fab-32d5946ea806@embedded-brains.de> (raw)

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.


             reply	other threads:[~2019-06-03  9:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-03  9:07 Sebastian Huber [this message]
2019-06-03  9:11 ` Sebastian Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=de514531-98eb-3f5b-9fab-32d5946ea806@embedded-brains.de \
    --to=sebastian.huber@embedded-brains.de \
    --cc=gdb-patches@sourceware.org \
    --cc=jose.marchesi@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox