From: Mike Frysinger <vapier@gentoo.org>
To: Markos Chandras <markos.chandras@gmail.com>
Cc: ltp-list@lists.sourceforge.net
Subject: Re: [LTP] [PATCH 2/2] ltp: Add support for Imagination Technologies Meta
Date: Thu, 14 Mar 2013 12:52:52 -0400 [thread overview]
Message-ID: <201303141252.53822.vapier@gentoo.org> (raw)
In-Reply-To: <CAG2jQ8hr0paKFEs31uBrmdUNNCewhpZhk=+o6ocvy5X0eKFVbw@mail.gmail.com>
[-- Attachment #1.1: Type: Text/Plain, Size: 1169 bytes --]
On Wednesday 13 March 2013 13:28:08 Markos Chandras wrote:
> On 13 March 2013 17:22, Mike Frysinger wrote:
> >> -#if defined(__hppa__)
> >> +#if defined(__hppa__) || (__metag__)
> >
> > you're missing "defined"
>
> Looking a couple of lines above this I see the following:
>
> #if defined (__s390__) || (__s390x__)
>
> so I assumed this is the desired style for multiple "#if defined"
> constructs.
nope, that's a bug too
> >> ret = clone(fn, stack, clone_flags, arg);
> >>
> >> #elif defined(__ia64__)
> >>
> >> ret = clone2(fn, stack, stack_size, clone_flags, arg, NULL, NULL,
> >> NULL);
> >
> > i wonder if we could make this into a runtime test. like declare a
> > buffer on the stack, then call alloca(), and compare the resulting
> > pointers.
>
> If you ask me, I prefer the way it is now.
the advantage is that the next random person to grow their stock in the
opposite direction won't have to update this hard coded list. and if it was
written this way earlier, you wouldn't be here right now either ;).
not saying you must do this ... fix the defined checks and we can merge that
-mike
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 238 bytes --]
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
[-- Attachment #3: Type: text/plain, Size: 155 bytes --]
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2013-03-14 16:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-13 14:04 [LTP] [PATCH 2/2] ltp: Add support for Imagination Technologies Meta Markos Chandras
2013-03-13 17:22 ` Mike Frysinger
2013-03-13 17:28 ` Markos Chandras
2013-03-14 16:52 ` Mike Frysinger [this message]
2013-03-14 16:59 ` Markos Chandras
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=201303141252.53822.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=ltp-list@lists.sourceforge.net \
--cc=markos.chandras@gmail.com \
/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.