This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug compile/18996] New: Build fails on FreesBSD 8.1
- From: "philipb at corp dot ssimicro.com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 23 Sep 2015 20:53:21 +0000
- Subject: [Bug compile/18996] New: Build fails on FreesBSD 8.1
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18996
Bug ID: 18996
Summary: Build fails on FreesBSD 8.1
Product: gdb
Version: 7.10
Status: NEW
Severity: normal
Priority: P2
Component: compile
Assignee: unassigned at sourceware dot org
Reporter: philipb at corp dot ssimicro.com
Target Milestone: ---
Created attachment 8627
--> https://sourceware.org/bugzilla/attachment.cgi?id=8627&action=edit
config.log from my build attempt
Attaching config.log.
Here were my build steps:
[bash_prompt] export CC=/usr/local/bin/gcc
[bash_prompt] ./configure
[bash_prompt] make
Here's what I saw:
Many things....then:
/usr/local/bin/gcc -g -O2 -I. -I. -I./common -I./config
-DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode
-I./../opcodes/.. -I./../readline/.. -I./../zlib -I../bfd -I./../bfd
-I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import
-Ibuild-gnulib/import -DTUI=1 -I/usr/local/include
-I/usr/local/include/python2.6 -I/usr/local/include/python2.6 -Wall
-Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts -Wempty-body -Wpointer-sign -Wmissing-prototypes
-Wdeclaration-after-statement -Wmissing-parameter-type -Wold-style-declaration
-Wold-style-definition -Wformat-nonliteral -c -o fbsd-nat.o fbsd-nat.c
fbsd-nat.c: In function 'fbsd_pid_to_exec_file':
fbsd-nat.c:56:3: warning: pointer targets in passing argument 4 of 'sysctl'
differ in signedness [-Wpointer-sign]
In file included from fbsd-nat.c:30:0:
/usr/include/sys/sysctl.h:717:5: note: expected 'size_t *' but argument is of
type 'ssize_t *'
fbsd-nat.c: In function 'fbsd_find_memory_regions':
fbsd-nat.c:97:24: error: 'KVME_FLAG_NOCOREDUMP' undeclared (first use in this
function)
fbsd-nat.c:97:24: note: each undeclared identifier is reported only once for
each function it appears in
*** Error code 1
Some info about my system:
[bash prompt]uname -a
FreeBSD pb-dev.ssimicro.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Feb 27
15:54:55 MST 2012 i386
Some info about my toolchain:
[bash prompt] gcc --version
gcc (GCC) 4.7.1
---
Happy to answer any questions you might have.
--
You are receiving this mail because:
You are on the CC list for the bug.