public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "bruno at clisp dot org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug build/12576] New: build failure when using non-gcc compiler Date: Sun, 13 Mar 2011 13:26:00 -0000 [thread overview] Message-ID: <bug-12576-4717@http.sourceware.org/bugzilla/> (raw) 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.
next reply other threads:[~2011-03-13 13:26 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-03-13 13:26 bruno at clisp dot org [this message] 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
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=bug-12576-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /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: linkBe 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; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).