Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Issue 41683003: Remove newlib header workaround for run_posix_memalign_test. (Closed)

Created:
7 years, 2 months ago by jvoung (off chromium)
Modified:
7 years ago
Reviewers:
Roland McGrath
CC:
native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Remove newlib header workaround for run_posix_memalign_test. Newlib should declare it now for NaCl. BUG= https://code.google.com/p/nativeclient/issues/detail?id=3718 R=mcgrathr@chromium.org Committed: https://src.chromium.org/viewvc/native_client?view=rev&revision=12445

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -14 lines) Patch
M tests/libc/nacl.scons View 1 1 chunk +1 line, -6 lines 0 comments Download
M tests/libc/posix_memalign.c View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jvoung (off chromium)
7 years, 1 month ago (2013-11-23 00:03:08 UTC) #1
Roland McGrath
lgtm
7 years, 1 month ago (2013-11-23 00:03:49 UTC) #2
jvoung (off chromium)
Committed patchset #2 manually as r12445 (presubmit successful).
7 years ago (2013-11-25 19:05:22 UTC) #3
Mark Seaborn
This change broke the archived-frontend tests on the PNaCl FYI bots: http://build.chromium.org/p/client.nacl.toolchain/builders/linux-pnacl-x86_64-tests-x86_32/builds/2836/steps/archived_frontend%20%5Bx86-32%5D%20%20%20%20%20%20%20%20rev%2012276%20BUILD/logs/stdio tests/libc/posix_memalign.c:23:17: error: implicit ...
7 years ago (2013-12-05 21:16:21 UTC) #4
jvoung (off chromium)
7 years ago (2013-12-05 21:36:01 UTC) #5
Message was sent while issue was closed.
On 2013/12/05 21:16:21, Mark Seaborn wrote:
> This change broke the archived-frontend tests on the PNaCl FYI bots:
> 
>
http://build.chromium.org/p/client.nacl.toolchain/builders/linux-pnacl-x86_64...
> 
> tests/libc/posix_memalign.c:23:17: error: implicit declaration of function
> 'posix_memalign' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
>       int err = posix_memalign((void **)&outp,
> 
> I think the long term fix is to remove the archived-frontend tests and replace
> them with tests that capture snapshots of pexes.

Yeah we'd have to snapshot programs plus their test harness -- for example, we
have to watch out if we modify a test relies on golden output.

> 
> But for now, could you fix this by bumping FEATURE_VERSION and making this
test
> conditional on that?  (tests/toolchain/nacl.scons does something like that for
> conditionalising the SJLJ EH tests.)

Okay I'll send out a CL.

Powered by Google App Engine
This is Rietveld 408576698