All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Franke <Christian.Franke@t-online.de>
To: grub-devel@gnu.org
Subject: Re: [2290] 2009-06-10  Pavel Roskin  <proski@gnu.org>
Date: Thu, 11 Jun 2009 21:39:13 +0200	[thread overview]
Message-ID: <4A315D61.8060705@t-online.de> (raw)
In-Reply-To: <E1MESar-000663-Ax@cvs.savannah.gnu.org>

Pavel Roskin wrote:
> Revision: 2290
>           http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2290
> Author:   proski
> Date:     2009-06-10 18:32:13 +0000 (Wed, 10 Jun 2009)
> Log Message:
> -----------
> 2009-06-10  Pavel Roskin  <proski@gnu.org>
>
> 	* configure.ac: Use -nostdlib when probing for the target.  It
> 	should not be required to have libc for the target.
> ...
>  # Set them to their new values for the tests below.
>  CC="$TARGET_CC"
> -CFLAGS="$TARGET_CFLAGS"
> +CFLAGS="$TARGET_CFLAGS -nostdlib"
>  CPPFLAGS="$TARGET_CPPFLAGS"
>  LDFLAGS="$TARGET_LDFLAGS"
>  
>
>   

This change breaks build at least on Cygwin, ./configure fails with:

checking whether target compiler is working... no
configure: error: cannot compile for the target

The link test in grub_PROG_TARGET_CC fails due to missing '__main' 
symbol from libgcc. According to gcc 4.3.2 man page, '-nostdlib' usually 
requires '-lgcc'.

-- 
Regards,
Christian Franke




       reply	other threads:[~2009-06-11 19:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1MESar-000663-Ax@cvs.savannah.gnu.org>
2009-06-11 19:39 ` Christian Franke [this message]
2009-06-11 19:45   ` [2290] 2009-06-10 Pavel Roskin <proski@gnu.org> Vladimir 'phcoder' Serbinenko
2009-06-11 19:57     ` Christian Franke
2009-06-11 20:05       ` Vladimir 'phcoder' Serbinenko
2009-06-11 20:20         ` Pavel Roskin
2009-06-11 20:27           ` Vladimir 'phcoder' Serbinenko
2009-06-11 20:34             ` Pavel Roskin
2009-06-11 20:52               ` Vladimir 'phcoder' Serbinenko
2009-06-11 21:20               ` Christian Franke
2009-06-11 20:09       ` Pavel Roskin

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=4A315D61.8060705@t-online.de \
    --to=christian.franke@t-online.de \
    --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.