Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Andre McCurdy <armccurdy@gmail.com>
Cc: openembedded-commits@lists.openembedded.org,
	openembedded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: [oe-commits] [openembedded-core] 02/02: nativesdk-glibc: Split glibc and libcrypt to use libxcrypt instead
Date: Mon, 9 Apr 2018 15:31:27 -0700	[thread overview]
Message-ID: <f36e699e-2d1e-821d-5641-4d9552c66d7e@gmail.com> (raw)
In-Reply-To: <CAJ86T=U4f6OXG88uHqwg4URov+icap8B0ZFWOw_2uWoAx6oHqQ@mail.gmail.com>

On 4/9/18 3:23 PM, Andre McCurdy wrote:
> On Sun, Apr 8, 2018 at 5:52 PM, Khem Raj <raj.khem@gmail.com> wrote:
>> On Sun, Apr 8, 2018 at 10:00 AM Martin Jansa <martin.jansa@gmail.com> wrote:
>>
>>> On Ubuntu 14.04 this fails with:
>>>
>>> ../git/gen-des-tables.c: In function ‘write_table_u8’:
>>> ../git/gen-des-tables.c:307:3: error: ‘for’ loop initial declarations are
>>> only allowed in C99 mode
>>>    for (size_t i = 0; i < m; i++)
>>>    ^
>>
>> You can patch this to move declaration just above loop if that helps we
>> should apply such a patch for compatibility sake but I wonder if there are
>> more c99 assumptions at work here
> 
> It looks like the upstream intention is to be buildable with c99 + GNU
> extensions, so explicitly setting -std=gnu99 seems reasonable.

see this statement worries me from same document you quote below.

A few C2011 features are used; the intention is not to use any of them
without a fallback, but we do not currently test this.



> 
>   https://github.com/besser82/libxcrypt#portability-notes
> 
> There even seems to be a configure check for it, so not sure why
> Centos6 etc get through to a build failure?
> 
>   https://github.com/besser82/libxcrypt/blob/develop/configure.ac#L33
> 

thats not checking the defaults, its checking if c99 is supported or not
and that is true for a lot of older compilers.



  reply	other threads:[~2018-04-09 22:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <152313690992.11940.6799878390820377002@git.openembedded.org>
     [not found] ` <20180407213510.474412329D5@git.openembedded.org>
2018-04-08 17:00   ` [oe-commits] [openembedded-core] 02/02: nativesdk-glibc: Split glibc and libcrypt to use libxcrypt instead Martin Jansa
2018-04-08 22:06     ` Richard Purdie
2018-04-09  0:52     ` Khem Raj
2018-04-09 22:23       ` Andre McCurdy
2018-04-09 22:31         ` Khem Raj [this message]
2018-04-09 22:45           ` Andre McCurdy
2018-04-09 23:08             ` Khem Raj
2018-04-09 22:40         ` Martin Jansa

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=f36e699e-2d1e-821d-5641-4d9552c66d7e@gmail.com \
    --to=raj.khem@gmail.com \
    --cc=armccurdy@gmail.com \
    --cc=openembedded-commits@lists.openembedded.org \
    --cc=openembedded-devel@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox