eliz at gnu dot org
2018-07-19 13:49:02 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=23434
Bug ID: 23434
Summary: libiberty/simple-object-elf.c fails to compile on
MinGW
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: eliz at gnu dot org
Target Milestone: 8.2
Host: MinGW
Target: MinGW
Build: MinGW
I've built the pretest of GDB 8.2 with MinGW today, and bumped into a
compilation error in libiberty:
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -O2 -gdwarf-4 -g3 -D__USE_MINGW_ACCESS -I.
-I./../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes
-pedantic -D_GNU_SOURCE ./simple-object-elf.c -o noasan/simple-object-elf.o;
\
else true; fi
gcc -c -DHAVE_CONFIG_H -O2 -gdwarf-4 -g3 -D__USE_MINGW_ACCESS -I.
-I./../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes
-pedantic -D_GNU_SOURCE ./simple-object-elf.c -o simple-object-elf.o
./simple-object-elf.c: In function
'simple_object_elf_copy_lto_debug_sections':
./simple-object-elf.c:1284:14: error: 'ENOTSUP' undeclared (first use in
this function)
*err = ENOTSUP;
^~~~~~~
./simple-object-elf.c:1284:14: note: each undeclared identifier is
reported only once for each function it appears in
Bug ID: 23434
Summary: libiberty/simple-object-elf.c fails to compile on
MinGW
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: build
Assignee: unassigned at sourceware dot org
Reporter: eliz at gnu dot org
Target Milestone: 8.2
Host: MinGW
Target: MinGW
Build: MinGW
I've built the pretest of GDB 8.2 with MinGW today, and bumped into a
compilation error in libiberty:
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -O2 -gdwarf-4 -g3 -D__USE_MINGW_ACCESS -I.
-I./../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes
-pedantic -D_GNU_SOURCE ./simple-object-elf.c -o noasan/simple-object-elf.o;
\
else true; fi
gcc -c -DHAVE_CONFIG_H -O2 -gdwarf-4 -g3 -D__USE_MINGW_ACCESS -I.
-I./../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes
-pedantic -D_GNU_SOURCE ./simple-object-elf.c -o simple-object-elf.o
./simple-object-elf.c: In function
'simple_object_elf_copy_lto_debug_sections':
./simple-object-elf.c:1284:14: error: 'ENOTSUP' undeclared (first use in
this function)
*err = ENOTSUP;
^~~~~~~
./simple-object-elf.c:1284:14: note: each undeclared identifier is
reported only once for each function it appears in
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.