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

Ocaml 3.10 fails to build on non-native archs #4375

Closed
vicuna opened this issue Aug 30, 2007 · 1 comment
Closed

Ocaml 3.10 fails to build on non-native archs #4375

vicuna opened this issue Aug 30, 2007 · 1 comment
Assignees
Labels

Comments

@vicuna
Copy link

vicuna commented Aug 30, 2007

Original bug ID: 4375
Reporter: furr
Assigned to: @xavierleroy
Status: closed (set by @xavierleroy on 2008-08-02T10:58:01Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 3.10.0
Category: ~DO NOT USE (was: OCaml general)
Related to: #4359
Monitored by: smimram

Bug description

The configure script uses a the default value of '$(AS)' when it is unable to guess the assembler pre-processor (line 638 in configure) for unknown architectures (i.e., no native code support). This value is then stored in config/Makefile. It looks like this hasn't been a problem in the past because this variable is only used when actually building the native code system. However, in 3.10, the script build/mkmyocamlbuild_config.sh parses config/Makefile and does not handle this input correctly and produces the line:
let aspp = as;;
in the generated myocamlbuild_config.ml, where [as] is not defined. Thus an error occurs when trying to build this file.

@vicuna
Copy link
Author

vicuna commented Oct 9, 2007

Comment author: @xavierleroy

Tentative fix in 3.10 branch: set aspp to '' by default and explicitly set it to 'as' when needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants