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

Issue 1163893003: Don't include <stdint.h> from within <machine/_types.h> (Closed)

Created:
5 years, 6 months ago by Sam Clegg
Modified:
5 years, 5 months ago
CC:
native-client-reviews_googlegroups.com, josephpereira, Mark Seaborn
Base URL:
https://chromium.googlesource.com/native_client/src/native_client.git@master
Target Ref:
refs/heads/master
Project:
nacl
Visibility:
Public.

Description

Don't include <stdint.h> from within <machine/_types.h> This causes no end of problem for with gnulib that likes to create wrappers around standard library headers. Probably best that a low level header like machine/_types.h doesn't depend on a higher level standard header like stdint.h CQ_EXTRA_TRYBOTS=tryserver.nacl:nacl-toolchain-precise64-newlib BUG= https://code.google.com/p/nativeclient/issues/detail?id=4198 Committed: https://chromium.googlesource.com/native_client/src/native_client/+/a1e908751e321b70b7921c667e9ab1ddfa642303

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -40 lines) Patch
M PRESUBMIT.py View 1 2 3 4 5 6 7 8 4 chunks +27 lines, -17 lines 0 comments Download
M src/include/win/port_win.h View 1 2 3 4 5 6 1 chunk +19 lines, -10 lines 0 comments Download
M src/trusted/service_runtime/include/bits/stat.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/trusted/service_runtime/include/machine/_types.h View 11 chunks +12 lines, -13 lines 0 comments Download
M src/trusted/service_runtime/include/sys/dirent.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/trusted/service_runtime/include/sys/unistd.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/untrusted/nacl/syscall_bindings_trampoline.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (14 generated)
Sam Clegg
5 years, 5 months ago (2015-07-17 20:11:21 UTC) #2
Roland McGrath
LGTM but it needs successful try runs on toolchain bots to ensure that the effects ...
5 years, 5 months ago (2015-07-17 20:28:00 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1163893003/120001
5 years, 5 months ago (2015-07-20 00:30:47 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: nacl-presubmit on tryserver.nacl (JOB_FAILED, http://build.chromium.org/p/tryserver.nacl/builders/nacl-presubmit/builds/220)
5 years, 5 months ago (2015-07-20 00:33:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1163893003/140001
5 years, 5 months ago (2015-07-20 04:33:58 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: nacl-presubmit on tryserver.nacl (JOB_FAILED, http://build.chromium.org/p/tryserver.nacl/builders/nacl-presubmit/builds/222)
5 years, 5 months ago (2015-07-20 04:35:50 UTC) #12
Sam Clegg
+bradnelson for service_runtime
5 years, 5 months ago (2015-07-20 15:11:31 UTC) #14
Sam Clegg
+josephpereira (since this should fix your gnulib issues in naclports).
5 years, 5 months ago (2015-07-21 17:20:15 UTC) #15
bradn
lgtm
5 years, 5 months ago (2015-07-21 17:21:44 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1163893003/140001
5 years, 5 months ago (2015-07-21 17:22:56 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: nacl-presubmit on tryserver.nacl (JOB_FAILED, http://build.chromium.org/p/tryserver.nacl/builders/nacl-presubmit/builds/225)
5 years, 5 months ago (2015-07-21 17:25:39 UTC) #21
Sam Clegg
On 2015/07/21 17:21:44, bradn wrote: > lgtm Wrong account I think.
5 years, 5 months ago (2015-07-21 17:28:22 UTC) #22
bradnelson
lgtm
5 years, 5 months ago (2015-07-21 17:31:14 UTC) #23
Sam Clegg
Update PRESUBMIT.py.. so I can use the CQ for the this change. PTAL.
5 years, 5 months ago (2015-07-21 18:21:59 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1163893003/160001
5 years, 5 months ago (2015-07-21 18:22:24 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: nacl-arm_opt_panda on tryserver.nacl (JOB_FAILED, http://build.chromium.org/p/tryserver.nacl/builders/nacl-arm_opt_panda/builds/10196)
5 years, 5 months ago (2015-07-22 00:56:27 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1163893003/160001
5 years, 5 months ago (2015-07-22 03:31:20 UTC) #31
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/native_client/src/native_client/+/a1e908751e321b70b7921c667e9ab1ddfa642303
5 years, 5 months ago (2015-07-22 17:22:11 UTC) #32
Derek Schuff
On 2015/07/22 17:22:11, commit-bot: I haz the power wrote: > Committed patchset #9 (id:160001) as ...
5 years, 5 months ago (2015-07-23 15:51:56 UTC) #33
Mark Seaborn
5 years, 5 months ago (2015-07-23 15:56:59 UTC) #34
Message was sent while issue was closed.
On 23 July 2015 at 08:51, <dschuff@chromium.org> wrote:

> On 2015/07/22 17:22:11, commit-bot: I haz the power wrote:
>
>> Committed patchset #9 (id:160001) as
>>
>
>
>
https://chromium.googlesource.com/native_client/src/native_client/+/a1e908751...
>
> +mseaborn
> This seems to have broken the x86-32 nonsfi build on the toolchain
> waterfall:
>
>
http://build.chromium.org/p/client.nacl.toolchain/builders/linux-pnacl-x86_64...
>
> But not the main waterfall, which seems odd. Sam and/or Mark, can you take
> a
> look?


The error is:

native_client/src/nonsfi/linux/linux_pthread_private.h:26:28: error:
unknown type name 'int32_t'; did you mean '__int32_t'?
void nacl_user_thread_exit(int32_t *stack_flag);

So I think this just requires adding "#include <stdint.h>" that file.  Sam,
can you try that?

Mark

-- 
You received this message because you are subscribed to the Google Groups
"Native-Client-Reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to native-client-reviews+unsubscribe@googlegroups.com.
To post to this group, send email to native-client-reviews@googlegroups.com.
Visit this group at http://groups.google.com/group/native-client-reviews.
For more options, visit https://groups.google.com/d/optout.

Powered by Google App Engine
This is Rietveld 408576698