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

"Invalid argument" error in gcc/MinGW in big projects #3536

Closed
vicuna opened this issue Mar 14, 2005 · 1 comment
Closed

"Invalid argument" error in gcc/MinGW in big projects #3536

vicuna opened this issue Mar 14, 2005 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Mar 14, 2005

Original bug ID: 3536
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Full_Name: Alexander Petrov
Version: Ocaml 3.08.2 gcc toolchain
OS: Latest MinGW
Submission from: asp.infinet.ru (195.38.45.70)

I got "Invalid argument" error from gcc while linking projects to native code.
It seems, that this error occur when project size exeeds some limit. Compiling
same project to byte code succeds. I tested this on two machines with 3.08.0 and
3.08.2 distributions with same results.

Last time I got this, while compiling vrcaml (from Humps, but with CamlLight
stuff removed from sources and with my makefile):

$ make nc
make[1]: Entering directory /c/ocaml/vrml' ocamlopt \ \ str.cmxa -o c \ compatibility.cmx constants.cmx types.cmx default.cmx exceptions.cmx basic_types.cmx font.cmx fonts.cmx colors.cmx vrml_objects_pre.cmx calc_3D.cmx vrml_objects_post.cmx positionables.cmx gcc: @C:/DOCUME~1/asp/LOCALS~1/Temp\camlresp2f45a3: Invalid argument Error during linking make[1]: *** [c] Error 2 make[1]: Leaving directory /c/ocaml/vrml'
make: *** [native-code] Error 2

I have project in zip and will send it by request.

@vicuna
Copy link
Author

vicuna commented Apr 17, 2005

Comment author: administrator

Looks like user is using a version of gcc/MinGW that does not understand
@responsefiles.

@vicuna vicuna closed this as completed Apr 17, 2005
@vicuna vicuna added the bug label Mar 19, 2019
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

1 participant