From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: BVK Chaitanya <bvk.groups@gmail.com>
Subject: Re: Fix for grub_assert_fail undefined on NetBSD and other platforms
Date: Tue, 22 Dec 2009 18:55:31 +0100 [thread overview]
Message-ID: <4B310813.8070607@gmail.com> (raw)
In-Reply-To: <4B30FCCA.1000304@labri.fr>
[-- Attachment #1: Type: text/plain, Size: 1323 bytes --]
Grégoire Sutre wrote:
> Hi,
>
> > Unfortunately, I couldn't test this on NetBSD, where old technique was
> > reported failing as GCC optimizations didn't happen. Can Grégoire
> > Sutr or anybody else try this out on NetBSD and confirm?
>
> Thanks for looking into this.
>
> I tested the second version of the patch. Linking now works without
> errors but I get new warnings:
>
> ./include/grub/list.h:44: warning: 'error' attribute directive ignored
This situation is acceptable. In unlikely case that cast is indeed bad
you will get runtime error instead of compile error. But it would be a
benefit if abort message would de improved by defining intermidiate
macro while will pass __LINE__ and __FILE__ to bad_cast_real which will
use it to tell developper where there is a problem
>
> I attach the log of (./autogen.sh && ./configure && gmake grub-fstest
> LDFLAGS=-lintl). This is on NetBSD 5.0 with gcc 4.1.3 (the default).
> If I use gcc 4.4 instead, then I do not get any warning.
>
> Grégoire
> ------------------------------------------------------------------------
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 293 bytes --]
next prev parent reply other threads:[~2009-12-22 17:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-22 16:09 Fix for grub_assert_fail undefined on NetBSD and other platforms BVK Chaitanya
2009-12-22 16:28 ` BVK Chaitanya
2009-12-22 17:07 ` Grégoire Sutre
2009-12-22 17:32 ` Felix Zielcke
2009-12-22 17:55 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2009-12-23 6:01 ` BVK Chaitanya
2009-12-23 11:16 ` Gre'goire Sutre
2009-12-23 16:53 ` BVK Chaitanya
2009-12-24 21:55 ` Robert Millan
2009-12-25 17:21 ` Felix Zielcke
2009-12-26 13:28 ` Robert Millan
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=4B310813.8070607@gmail.com \
--to=phcoder@gmail.com \
--cc=bvk.groups@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.