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

Issue 1377003003: Specify output explicitly for the .c.o compile rule (Closed)

Created:
5 years, 2 months ago by Petr Hosek
Modified:
5 years, 2 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/nacl-newlib.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Specify output explicitly for the .c.o compile rule The current Makefile.in does not specify the output file name even though upper level Makefile assumes that the output filename is crt0.o. However, breaks when the compiler does not use .o extension for object files. Newer Automake is already using explicit output, but since Newlib does not currently build with newer Autoconf/Automake versions, we need to override the rule manually. BUG= none TEST= toolchain_build_pnacl.py R=mcgrathr@chromium.org Committed: https://git.chromium.org/gitweb?p=native_client/nacl-newlib.git;a=commit;h=3b7c4ddb17a22f463043363e18adabe0b325c5b6

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use explicit output for the compile rule #

Total comments: 2

Patch Set 3 : Add comment to Makefile.am #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -1 line) Patch
M newlib/libc/sys/nacl/Makefile.am View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M newlib/libc/sys/nacl/Makefile.in View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (1 generated)
Petr Hosek
5 years, 2 months ago (2015-09-29 23:37:26 UTC) #2
Petr Hosek
Ping, alternatively I could just add rule for crt0.o to newlib/libc/sys/nacl/Makefile.{am,in} if that's the preferred ...
5 years, 2 months ago (2015-10-07 21:58:51 UTC) #3
Roland McGrath
All the makefile changes are pretty horrific. If you can tackle this in a fashion ...
5 years, 2 months ago (2015-10-07 22:13:23 UTC) #4
Petr Hosek
How about this version?
5 years, 2 months ago (2015-10-09 18:54:33 UTC) #5
Roland McGrath
LGTM with comment https://codereview.chromium.org/1377003003/diff/20001/newlib/libc/sys/nacl/Makefile.am File newlib/libc/sys/nacl/Makefile.am (right): https://codereview.chromium.org/1377003003/diff/20001/newlib/libc/sys/nacl/Makefile.am#newcode15 newlib/libc/sys/nacl/Makefile.am:15: .c.o: Put the explanation in a ...
5 years, 2 months ago (2015-10-09 20:42:19 UTC) #6
Petr Hosek
https://chromiumcodereview.appspot.com/1377003003/diff/20001/newlib/libc/sys/nacl/Makefile.am File newlib/libc/sys/nacl/Makefile.am (right): https://chromiumcodereview.appspot.com/1377003003/diff/20001/newlib/libc/sys/nacl/Makefile.am#newcode15 newlib/libc/sys/nacl/Makefile.am:15: .c.o: On 2015/10/09 20:42:19, Roland McGrath wrote: > Put ...
5 years, 2 months ago (2015-10-15 18:39:59 UTC) #7
Petr Hosek
5 years, 2 months ago (2015-10-17 22:48:35 UTC) #8
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
3b7c4ddb17a22f463043363e18adabe0b325c5b6 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698