public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug build/12576] New: build failure when using non-gcc compiler @ 2011-03-13 13:26 bruno at clisp dot org 2011-03-14 15:20 ` [Bug build/12576] " tromey at redhat dot com ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: bruno at clisp dot org @ 2011-03-13 13:26 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=12576 Summary: build failure when using non-gcc compiler Product: gdb Version: 7.2 Status: NEW Severity: normal Priority: P2 Component: build AssignedTo: unassigned@sourceware.org ReportedBy: bruno@clisp.org Building gdb-7.2 on Solaris 2.6 with CC="cc" I get these two compilation errors: source='dwarf2loc.c' object='dwarf2loc.o' libtool=no DEPDIR=.deps depmode=dashXmstdout /bin/ksh ./../depcomp cc -O -I. -I. -I./common -I./config -DLOCALEDIR="\"/home/haible/prefix-solaris6-sparc/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./../intl -I./gnulib -Ignulib -DMI_OUT=1 -DTUI=1 -O -c -o dwarf2loc.o dwarf2loc.c "dwarf2loc.c", line 263: void function cannot return value "dwarf2loc.c", line 1073: void function cannot return value ... cc: acomp failed for dwarf2loc.c gmake[2]: *** [dwarf2loc.o] Error 2 The fix is to remove the "return" keyword from dwarf2loc.c:263 and dwarf2loc.c:1073. GCC is the only compiler that supports 'return' of void values. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug build/12576] build failure when using non-gcc compiler 2011-03-13 13:26 [Bug build/12576] New: build failure when using non-gcc compiler bruno at clisp dot org @ 2011-03-14 15:20 ` tromey at redhat dot com 2011-03-14 15:54 ` cvs-commit at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: tromey at redhat dot com @ 2011-03-14 15:20 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=12576 Tom Tromey <tromey at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at redhat dot com AssignedTo|unassigned at sourceware |tromey at redhat dot com |dot org | -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug build/12576] build failure when using non-gcc compiler 2011-03-13 13:26 [Bug build/12576] New: build failure when using non-gcc compiler bruno at clisp dot org 2011-03-14 15:20 ` [Bug build/12576] " tromey at redhat dot com @ 2011-03-14 15:54 ` cvs-commit at gcc dot gnu.org 2011-03-14 15:59 ` cvs-commit at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2011-03-14 15:54 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=12576 --- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-03-14 15:54:24 UTC --- CVSROOT: /cvs/src Module name: src Branch: gdb_7_2-branch Changes by: tromey@sourceware.org 2011-03-14 15:54:16 Modified files: gdb : ChangeLog dwarf2loc.c Log message: PR gdb/12576: * dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'. (needs_frame_dwarf_call): Likewise. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&only_with_tag=gdb_7_2-branch&r1=1.11973.2.70&r2=1.11973.2.71 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2loc.c.diff?cvsroot=src&only_with_tag=gdb_7_2-branch&r1=1.93.2.3&r2=1.93.2.4 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug build/12576] build failure when using non-gcc compiler 2011-03-13 13:26 [Bug build/12576] New: build failure when using non-gcc compiler bruno at clisp dot org 2011-03-14 15:20 ` [Bug build/12576] " tromey at redhat dot com 2011-03-14 15:54 ` cvs-commit at gcc dot gnu.org @ 2011-03-14 15:59 ` cvs-commit at gcc dot gnu.org 2011-03-14 16:02 ` tromey at redhat dot com 2011-06-17 9:17 ` pedro at codesourcery dot com 4 siblings, 0 replies; 6+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2011-03-14 15:59 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=12576 --- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-03-14 15:59:04 UTC --- CVSROOT: /cvs/src Module name: src Changes by: tromey@sourceware.org 2011-03-14 15:58:56 Modified files: gdb : ChangeLog dwarf2loc.c Log message: PR gdb/12576: * dwarf2loc.c (dwarf_expr_dwarf_call): Remove 'return'. (needs_frame_dwarf_call): Likewise. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12801&r2=1.12802 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/dwarf2loc.c.diff?cvsroot=src&r1=1.111&r2=1.112 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug build/12576] build failure when using non-gcc compiler 2011-03-13 13:26 [Bug build/12576] New: build failure when using non-gcc compiler bruno at clisp dot org ` (2 preceding siblings ...) 2011-03-14 15:59 ` cvs-commit at gcc dot gnu.org @ 2011-03-14 16:02 ` tromey at redhat dot com 2011-06-17 9:17 ` pedro at codesourcery dot com 4 siblings, 0 replies; 6+ messages in thread From: tromey at redhat dot com @ 2011-03-14 16:02 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=12576 Tom Tromey <tromey at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |7.3 --- Comment #3 from Tom Tromey <tromey at redhat dot com> 2011-03-14 16:01:49 UTC --- I checked in the fix to the trunk and the 7.2 branch. -Wreturn-type (implied by -Wall) should have caught this, so I think there is also a GCC bug here. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug build/12576] build failure when using non-gcc compiler 2011-03-13 13:26 [Bug build/12576] New: build failure when using non-gcc compiler bruno at clisp dot org ` (3 preceding siblings ...) 2011-03-14 16:02 ` tromey at redhat dot com @ 2011-06-17 9:17 ` pedro at codesourcery dot com 4 siblings, 0 replies; 6+ messages in thread From: pedro at codesourcery dot com @ 2011-06-17 9:17 UTC (permalink / raw) To: gdb-prs http://sourceware.org/bugzilla/show_bug.cgi?id=12576 Pedro Alves <pedro at codesourcery dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tim.mooney at ndsu dot edu --- Comment #4 from Pedro Alves <pedro at codesourcery dot com> 2011-06-17 09:17:22 UTC --- *** Bug 12904 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-06-17 9:17 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-03-13 13:26 [Bug build/12576] New: build failure when using non-gcc compiler bruno at clisp dot org 2011-03-14 15:20 ` [Bug build/12576] " tromey at redhat dot com 2011-03-14 15:54 ` cvs-commit at gcc dot gnu.org 2011-03-14 15:59 ` cvs-commit at gcc dot gnu.org 2011-03-14 16:02 ` tromey at redhat dot com 2011-06-17 9:17 ` pedro at codesourcery dot com
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).