Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Troubling building in Mac OS X 10.7.1 Lion #31

Closed
DartBot opened this issue Oct 10, 2011 · 7 comments
Closed

Troubling building in Mac OS X 10.7.1 Lion #31

DartBot opened this issue Oct 10, 2011 · 7 comments
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. closed-duplicate Closed in favor of an existing report

Comments

@DartBot
Copy link

DartBot commented Oct 10, 2011

This issue was originally filed by andrew.penne...@gmail.com


What steps will reproduce the problem?

  1. Download the source for everything or the standalone VM
  2. Run tools/build.py

What is the expected output? What do you see instead?

I expected Dart to build successfully. Instead, I get a generic error:

=== BUILD NATIVE TARGET libdart_vm OF PROJECT dart-runtime WITH CONFIGURATION Debug_ia32 ===
** BUILD FAILED **

What version of the product are you using? On what operating system?

Dart SVN
Mac OS X 10.7.1 Lion
gcc 4.2.1
Xcode 4.1

Please provide any additional information below.

$ cd runtime/
$ ../tools/build.py
xcodebuild -project dart-runtime.xcodeproj -target All -parallelizeTargets -configuration Debug_ia32 SYMROOT=/Users/andrew/Desktop/src/dart/dart/runtime/xcodebuild
Build settings from command line:
    SYMROOT = /Users/andrew/Desktop/src/dart/dart/runtime/xcodebuild

=== BUILD AGGREGATE TARGET generate_corelib_cc_file OF PROJECT dart-runtime WITH CONFIGURATION Debug_ia32 ===
Check dependencies

PhaseScriptExecution "Action "generate_corelib_cc"" xcodebuild/dart-runtime.build/Debug_ia32/generate_corelib_cc_file.build/Script-61B70A4850462E150C53D7EB.sh
    cd /Users/andrew/Desktop/src/dart/dart/runtime
    /bin/sh -c /Users/andrew/Desktop/src/dart/dart/runtime/xcodebuild/dart-runtime.build/Debug_ia32/generate_corelib_cc_file.build/Script-61B70A4850462E150C53D7EB.sh
note: Generating /Users/andrew/Desktop/src/dart/dart/runtime/xcodebuild/DerivedSources/Debug_ia32/corelib_gen.cc file.

=== BUILD AGGREGATE TARGET generate_corelib_impl_cc_file OF PROJECT dart-runtime WITH CONFIGURATION Debug_ia32 ===
PhaseScriptExecution "Action "generate_corelib_impl_cc"" xcodebuild/dart-runtime.build/Debug_ia32/generate_corelib_impl_cc_file.build/Script-0F71A7DFBA54688A93AB479D.sh
    cd /Users/andrew/Desktop/src/dart/dart/runtime
    /bin/sh -c /Users/andrew/Desktop/src/dart/dart/runtime/xcodebuild/dart-runtime.build/Debug_ia32/generate_corelib_impl_cc_file.build/Script-0F71A7DFBA54688A93AB479D.sh
note: Generating /Users/andrew/Desktop/src/dart/dart/runtime/xcodebuild/DerivedSources/Debug_ia32/corelib_impl_gen.cc file.

=== BUILD NATIVE TARGET libdart_vm OF PROJECT dart-runtime WITH CONFIGURATION Debug_ia32 ===
** BUILD FAILED **

BUILD FAILED

@DartBot
Copy link
Author

DartBot commented Oct 10, 2011

This comment was originally written by benl@google.com


e.g. this works for me (in a Makefile):

cd compiler && XCODE_XCCONFIG_FILE=$(PWD)/xcconfig ../tools/build.py
--mode $(MODE) --arch dartc

note that $(PWD) resolves before the cd!

xcconfig looks like:

SDKROOT=macosx10.6

@DartBot
Copy link
Author

DartBot commented Oct 10, 2011

This comment was originally written by schenne...@chromium.org


These instructions for Chromium may also be relevant, as it uses the same dependencies system. I have not personally verified.

http://code.google.com/p/chromium/wiki/Xcode4Tips

@sgjesse
Copy link
Contributor

sgjesse commented Oct 10, 2011

Issue #38 has been merged into this issue.

@DartBot
Copy link
Author

DartBot commented Oct 11, 2011

This comment was originally written by drfibonacci@google.com


Set owner to @sgjesse.
Added Area-Compiler, Accepted labels.

@DartBot
Copy link
Author

DartBot commented Oct 11, 2011

This comment was originally written by johnle...@google.com


Removed Area-Compiler label.
Added Area-VM label.

@iposva-google
Copy link
Contributor

Set owner to @iposva-google.

@iposva-google
Copy link
Contributor

Added Duplicate label.
Marked as being merged into #18.

@DartBot DartBot added Type-Defect area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. closed-duplicate Closed in favor of an existing report labels Oct 12, 2011
kanghuay added a commit to kanghuay/sdk that referenced this issue Jun 13, 2022
This CL moves write-barrier checking code into stub for binary size reduction.

``` before
        ;; StoreInstanceField(v11 . start = v15)
0x101d0040c    b801b020               strw r0, [r1, dart-lang#27]
0x101d00410    36000100               tbzw r0, #0, 0x101d00430
0x101d00414    385ff030               ldrb ip0, [r1, #-1]
0x101d00418    385ff011               ldrb ip1, [r0, #-1]
0x101d0041c    8a500a30               and ip0, ip1, ip0 lsr dart-lang#2
0x101d00420    ea5c821f               ands zr, ip0, r28 lsr dart-lang#32
0x101d00424    54000060               beq 0x101d00430
0x101d00428    f942cb5e               ldr lr, [r26, dart-lang#1424]
0x101d0042c    d63f03c0               blr lr
        ;; ParallelMove r0 <- r4
0x101d00430    aa0403e0               mov r0, r4
        ;; StoreInstanceField(v11 . end = v17)
0x101d00434    b801f020               strw r0, [r1, dart-lang#31]
0x101d00438    36000100               tbzw r0, #0, 0x101d00458
0x101d0043c    385ff030               ldrb ip0, [r1, #-1]
0x101d00440    385ff011               ldrb ip1, [r0, #-1]
0x101d00444    8a500a30               and ip0, ip1, ip0 lsr dart-lang#2
0x101d00448    ea5c821f               ands zr, ip0, r28 lsr dart-lang#32
0x101d0044c    54000060               beq 0x101d00458
0x101d00450    f942cb5e               ldr lr, [r26, dart-lang#1424]
0x101d00454    d63f03c0               blr lr
    ```

``` after
        ;; StoreInstanceField(v11 . start = v15)
0x10a6003cc    b801b020               strw r0, [r1, dart-lang#27]
0x10a6003d0    f942cb5e               ldr lr, [r26, dart-lang#1424]
0x10a6003d4    d63f03c0               blr lr
        ;; ParallelMove r0 <- r4
0x10a6003d8    aa0403e0               mov r0, r4
        ;; StoreInstanceField(v11 . end = v17)
0x10a6003dc    b801f020               strw r0, [r1, dart-lang#31]
0x10a6003e0    f942cb5e               ldr lr, [r26, dart-lang#1424]
0x10a6003e4    d63f03c0               blr lr
```
kanghuay added a commit to kanghuay/sdk that referenced this issue Jun 14, 2022
This CL moves write-barrier checking code into stub for binary size reduction.

``` before
        ;; StoreInstanceField(v11 . start = v15)
0x101d0040c    b801b020               strw r0, [r1, dart-lang#27]
0x101d00410    36000100               tbzw r0, #0, 0x101d00430
0x101d00414    385ff030               ldrb ip0, [r1, #-1]
0x101d00418    385ff011               ldrb ip1, [r0, #-1]
0x101d0041c    8a500a30               and ip0, ip1, ip0 lsr dart-lang#2
0x101d00420    ea5c821f               ands zr, ip0, r28 lsr dart-lang#32
0x101d00424    54000060               beq 0x101d00430
0x101d00428    f942cb5e               ldr lr, [r26, dart-lang#1424]
0x101d0042c    d63f03c0               blr lr
        ;; ParallelMove r0 <- r4
0x101d00430    aa0403e0               mov r0, r4
        ;; StoreInstanceField(v11 . end = v17)
0x101d00434    b801f020               strw r0, [r1, dart-lang#31]
0x101d00438    36000100               tbzw r0, #0, 0x101d00458
0x101d0043c    385ff030               ldrb ip0, [r1, #-1]
0x101d00440    385ff011               ldrb ip1, [r0, #-1]
0x101d00444    8a500a30               and ip0, ip1, ip0 lsr dart-lang#2
0x101d00448    ea5c821f               ands zr, ip0, r28 lsr dart-lang#32
0x101d0044c    54000060               beq 0x101d00458
0x101d00450    f942cb5e               ldr lr, [r26, dart-lang#1424]
0x101d00454    d63f03c0               blr lr
    ```

``` after
        ;; StoreInstanceField(v11 . start = v15)
0x10a6003cc    b801b020               strw r0, [r1, dart-lang#27]
0x10a6003d0    f942cb5e               ldr lr, [r26, dart-lang#1424]
0x10a6003d4    d63f03c0               blr lr
        ;; ParallelMove r0 <- r4
0x10a6003d8    aa0403e0               mov r0, r4
        ;; StoreInstanceField(v11 . end = v17)
0x10a6003dc    b801f020               strw r0, [r1, dart-lang#31]
0x10a6003e0    f942cb5e               ldr lr, [r26, dart-lang#1424]
0x10a6003e4    d63f03c0               blr lr
```
copybara-service bot pushed a commit that referenced this issue Jan 4, 2023
…_launcher, clock, crypto, csslib, dartdoc, html, http, http_multi_server, intl, package_config, pool, protobuf, pub_semver, source_map_stack_trace, source_maps, source_span, sse, stack_trace, stream_channel, term_glyph, test, test_descriptor, test_process, test_reflective_loader, watcher, web_socket_channel, yaml

Revisions updated by `dart tools/rev_sdk_deps.dart`.

bazel_worker (https://github.com/dart-lang/bazel_worker/compare/9f21e1d..b35c25e):
  b35c25e  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#66)

benchmark_harness (https://github.com/dart-lang/benchmark_harness/compare/ee7a253..76881df):
  76881df  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#80)

boolean_selector (https://github.com/dart-lang/boolean_selector/compare/5082b3d..ba7d86b):
  ba7d86b  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#41)

browser_launcher (https://github.com/dart-lang/browser_launcher/compare/2712dda..f2f01e4):
  f2f01e4  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#37)

clock (https://github.com/dart-lang/clock/compare/8a8231f..6b8b7bf):
  6b8b7bf  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#41)

crypto (https://github.com/dart-lang/crypto/compare/bf0c33b..f854f2f):
  f854f2f  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#138)

csslib (https://github.com/dart-lang/csslib/compare/34203c0..d776535):
  d776535  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#156)

dartdoc (https://github.com/dart-lang/dartdoc/compare/ce25524..9ed196f):
  9ed196f1  2023-01-03  Sam Rawlins  Move many test files to test_reflective_loader (#3284)

html (https://github.com/dart-lang/html/compare/28fb8b9..3dd00b0):
  3dd00b0  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#193)

http (https://github.com/dart-lang/http/compare/38d5dd9..d434d42):
  d434d42  2023-01-03  Brian Quinlan  Make it possible to use a custom CronetEngine with runWithClient (#843)

http_multi_server (https://github.com/dart-lang/http_multi_server/compare/e31c698..beb40a7):
  beb40a7  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#47)

intl (https://github.com/dart-lang/intl/compare/59e7bff..c61fdd1):
  c61fdd1  2023-01-04  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#528)
  2a5e3a2  2023-01-04  Copybara-Service  Merge pull request #527 from mateendev3:patch-2
  07a5847  2022-12-31  Mateen Mehmood  Update date_format.dart

package_config (https://github.com/dart-lang/package_config/compare/abb4aec..2e1a8ec):
  2e1a8ec  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#128)

pool (https://github.com/dart-lang/pool/compare/1ea5b03..713e631):
  713e631  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#59)

protobuf (https://github.com/dart-lang/protobuf/compare/1d1c92a..dd04535):
  dd04535  2023-01-04  Mahdi K. Fard  Fix avoid_renaming_method_parameters linter warning. (#783)
  4b1fc34  2023-01-04  Mahdi K. Fard  Removes a non-existing lint rule. (#784)

pub_semver (https://github.com/dart-lang/pub_semver/compare/1723111..3946e33):
  3946e33  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#76)

source_map_stack_trace (https://github.com/dart-lang/source_map_stack_trace/compare/8d8078f..e5f9564):
  e5f9564  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#31)

source_maps (https://github.com/dart-lang/source_maps/compare/b031e2c..d995912):
  d995912  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#70)

source_span (https://github.com/dart-lang/source_span/compare/d1d47e5..72d5c55):
  72d5c55  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#89)

sse (https://github.com/dart-lang/sse/compare/2de27fe..3c37edb):
  3c37edb  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#73)

stack_trace (https://github.com/dart-lang/stack_trace/compare/cf3562e..c08ee90):
  c08ee90  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#125)

stream_channel (https://github.com/dart-lang/stream_channel/compare/9143047..0a7800a):
  0a7800a  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#83)

term_glyph (https://github.com/dart-lang/term_glyph/compare/822cd5b..2bf4594):
  2bf4594  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#30)

test (https://github.com/dart-lang/test/compare/8235a25..3415089):
  34150897  2023-01-03  dependabot[bot]  Bump ossf/scorecard-action from 2.0.6 to 2.1.2 (#1838)
  5f01dd97  2023-01-03  dependabot[bot]  Bump github/codeql-action from 1.0.26 to 2.1.37 (#1839)

test_descriptor (https://github.com/dart-lang/test_descriptor/compare/13dbc20..b73c691):
  b73c691  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#46)

test_process (https://github.com/dart-lang/test_process/compare/1774aa7..62ea2ba):
  62ea2ba  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#37)

test_reflective_loader (https://github.com/dart-lang/test_reflective_loader/compare/52b6753..cf58259):
  cf58259  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#43)

watcher (https://github.com/dart-lang/watcher/compare/3259107..2e0db71):
  2e0db71  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#132)

web_socket_channel (https://github.com/dart-lang/web_socket_channel/compare/a90e740..ebd0fe9):
  ebd0fe9  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#244)

yaml (https://github.com/dart-lang/yaml/compare/f699275..02be51e):
  02be51e  2023-01-03  dependabot[bot]  Bump actions/checkout from 3.1.0 to 3.2.0 (#133)

Change-Id: I56af76e89a75b0712b290ea154f606781183bec7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/278368
Auto-Submit: Devon Carew <devoncarew@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
copybara-service bot pushed a commit that referenced this issue Jan 10, 2023
…_server, http_parser, logging, mockito, path, pool, shelf, source_map_stack_trace, sse, stream_channel, term_glyph, test, typed_data, watcher, web_socket_channel, webdev, webkit_inspection_protocol, yaml

Revisions updated by `dart tools/rev_sdk_deps.dart`.

cli_util (https://github.com/dart-lang/cli_util/compare/5a8e8ee..32bc077):
  32bc077  2023-01-09  Sam Rawlins  Migrate from no-implicit-casts to strict-casts (#73)

clock (https://github.com/dart-lang/clock/compare/6b8b7bf..65e8a13):
  65e8a13  2023-01-09  Sam Rawlins  Migrate from no-implicit-casts to strict-casts (#42)

csslib (https://github.com/dart-lang/csslib/compare/d776535..7054945):
  7054945  2023-01-09  Sam Rawlins  Migrate from no-implicit-casts to strict-casts (#157)

dartdoc (https://github.com/dart-lang/dartdoc/compare/29a1bbf..c4ab682):
  c4ab6824  2023-01-10  Sam Rawlins  Regenerate so latest analyzer is happy (#3293)

fixnum (https://github.com/dart-lang/fixnum/compare/714381c..71f0d4d):
  71f0d4d  2023-01-09  Sam Rawlins  Migrate from no-implicit-casts to strict-casts (#103)

glob (https://github.com/dart-lang/glob/compare/7adf833..4579281):
  4579281  2023-01-09  Sam Rawlins  Migrate from no-implicit-casts to strict-casts (#68)

http_multi_server (https://github.com/dart-lang/http_multi_server/compare/beb40a7..cce5080):
  cce5080  2023-01-09  Sam Rawlins  Migrate from no-implicit-casts to strict-casts (#48)

http_parser (https://github.com/dart-lang/http_parser/compare/16a4f34..6f73e4a):
  6f73e4a  2023-01-09  Sam Rawlins  Migrate from no-implicit-casts to strict-casts (#66)

logging (https://github.com/dart-lang/logging/compare/b525d5c..34ed68f):
  34ed68f  2023-01-09  Kevin Moore  Move to new analyzer language settings (#126)

mockito (https://github.com/dart-lang/mockito/compare/942dd03..9cc958a):
  9cc958a  2023-01-09  Sam Rawlins  Migrate from no-implicit-casts to strict-casts

path (https://github.com/dart-lang/path/compare/1299791..9768908):
  9768908  2023-01-09  Sam Rawlins  Migrate from no-implicit-casts to strict-casts (#133)

pool (https://github.com/dart-lang/pool/compare/713e631..ad4e2a7):
  ad4e2a7  2023-01-09  Sam Rawlins  Migrate from no-implicit-casts to strict-casts (#60)

shelf (https://github.com/dart-lang/shelf/compare/32e342d..a44e95e):
  a44e95e  2023-01-10  Kevin Moore  Fix doc comment references (#323)

source_map_stack_trace (https://github.com/dart-lang/source_map_stack_trace/compare/e5f9564..adea3e5):
  adea3e5  2023-01-09  Sam Rawlins  Migrate no-implicit-casts to strict-casts (#32)

sse (https://github.com/dart-lang/sse/compare/3c37edb..be426a2):
  be426a2  2023-01-09  Sam Rawlins  Migrate from no-implicit-casts to strict-casts (#74)

stream_channel (https://github.com/dart-lang/stream_channel/compare/0a7800a..3b99268):
  3b99268  2023-01-09  Sam Rawlins  Migrate from no-implicit-casts to strict-casts (#84)

term_glyph (https://github.com/dart-lang/term_glyph/compare/2bf4594..8cd9318):
  8cd9318  2023-01-09  Sam Rawlins  Migrate from no-implicit-casts to strict-casts (#31)

test (https://github.com/dart-lang/test/compare/3415089..932a652):
  932a652b  2023-01-09  Nate Bosch  Add a Map operator[] extension (#1830)
  1f2e963e  2023-01-09  Nate Bosch  Add Future.doesNotComplete condition (#1827)

typed_data (https://github.com/dart-lang/typed_data/compare/dbf81a7..9c209b9):
  9c209b9  2023-01-09  Sam Rawlins  Migrate no-implicit-casts to strict-casts (#58)

watcher (https://github.com/dart-lang/watcher/compare/2e0db71..3b49c7e):
  3b49c7e  2023-01-09  Sam Rawlins  Migrate from no-implicit-casts to strict-casts (#134)

web_socket_channel (https://github.com/dart-lang/web_socket_channel/compare/ebd0fe9..28d7b82):
  28d7b82  2023-01-10  Kevin Moore  Fix CI link in readme (#248)
  c6ce895  2023-01-09  Sam Rawlins  Update analysis_options.yaml (#247)

webdev (https://github.com/dart-lang/webdev/compare/49f97b8..094ee97):
  094ee97  2023-01-10  Anna Gringauze  Add back setExceptionPauseMode (#1871)
  2e65ddf  2023-01-10  Anna Gringauze  Prepare for dart 3.0 alpha breaking changes (#1880)
  2e2587a  2023-01-10  Elliott Brooks (she/her)  Add hotfix instructions to DWDS (#1876)
  fe39123  2023-01-10  Elliott Brooks (she/her)  Re-enable `reload_tests` (#1877)
  e71c0e3  2023-01-09  Anna Gringauze  Fix crash on processing devtools event (#1875)

webkit_inspection_protocol (https://github.com/google/webkit_inspection_protocol.dart/compare/ddb624c..15244ff):
  15244ff  2023-01-09  Kevin Moore  Add cron to CI (#97)

yaml (https://github.com/dart-lang/yaml/compare/02be51e..b2fce6c):
  b2fce6c  2023-01-10  Sam Rawlins  Migrate from no-implicit-casts to strict-casts (#134)

Change-Id: I4fb257fe7c697fab562f4d18e4ea50c5903b4cd8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/278807
Auto-Submit: Devon Carew <devoncarew@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
srburton added a commit to srburton/sdk that referenced this issue Jan 25, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

3 participants