All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Grégoire Sutre" <gregoire.sutre@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: [build failure] GCC 4.1.3 support?
Date: Sat, 28 Jul 2012 00:15:09 +0200	[thread overview]
Message-ID: <501312ED.9050004@gmail.com> (raw)

Hi,

Configuring GRUB 2.00 on NetBSD 5.1.2 gives the following error:

checking if C symbols get an underscore after compilation... configure: 
error: gcc failed to produce assembly code

This comes from warnings -Waddress, -Wempty-body and -Woverflow
that are not supported by gcc on this system, which is:

gcc (GCC) 4.1.3 20080704 prerelease (NetBSD nb2 20081120)

The file INSTALL indicates, as requirement, GCC 4.1.3 or later.
Is this requirement obsolete?  I guess so, since there isn't
much build-testing done with GCC 4.1.3 nowadays.  So which GCC
version should be understood as the real requirement?

Grégoire


Excerpt from config.log:

configure:20704: checking if C symbols get an underscore after compilation
configure:20720: gcc  -Os -Wall -W -Wshadow -Wold-style-definition 
-Wpointer-arith -Wundef -Wextra -Waddress -Wattri
butes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations 
-Wdisabled-optimization -Wdiv-by-zero -Wemp
ty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args 
-Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-functi
on-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast 
-Winvalid-pch -Wmain -Wmissing-braces -Wmissing-fiel
d-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar 
-Wnonnull -Woverflow -Wparentheses -Wpointe
r-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow 
-Wsign-compare -Wstrict-aliasing -Wswitch -Wtr
igraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function 
-Wunused-label -Wunused-parameter -Wunused-value  -Wunu
sed-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings 
-Wnested-externs -Wstrict-prototypes -Wpointe
r-sign -g -Wredundant-decls -Wmissing-prototypes -Wmissing-declarations 
-falign-jumps=1 -falign-loops=1 -falign-func
tions=1 -mno-mmx -mno-sse -mno-sse2 -mno-3dnow -m32 -fno-stack-protector 
-mno-stack-arg-probe -Werror -nostdlib -Wl,
--defsym,___main=0x8100 -Wno-error -S conftest.c
cc1: error: unrecognized command line option "-Waddress"
cc1: error: unrecognized command line option "-Wempty-body"
cc1: error: unrecognized command line option "-Woverflow"
configure:20723: $? = 1
configure:20727: error: gcc failed to produce assembly code


             reply	other threads:[~2012-07-27 22:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-27 22:15 Grégoire Sutre [this message]
2012-07-27 23:21 ` [build failure] GCC 4.1.3 support? Grégoire Sutre

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=501312ED.9050004@gmail.com \
    --to=gregoire.sutre@gmail.com \
    --cc=grub-devel@gnu.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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.