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

Installation issue on Debian Jessie since version 1.6 #14

Closed
snoopy0815 opened this issue Oct 11, 2017 · 4 comments
Closed

Installation issue on Debian Jessie since version 1.6 #14

snoopy0815 opened this issue Oct 11, 2017 · 4 comments

Comments

@snoopy0815
Copy link
Contributor

snoopy0815 commented Oct 11, 2017

unfortunately since this code update I'm not able anymore to install Zarith on Raspberry Debian Jessie :(

this is the error I get, after the command 'make':

pi@raspberrypi:~/.opam/system/build/zarith.1.6 $ make
gcc -DZ_OCAML_HASH -DZ_OCAML_COMPARE_EXT -DHAS_GMP     -c -o caml_z_arm.o caml_z_arm.S
caml_z_arm.S: Assembler messages:
caml_z_arm.S:25: Error: junk at end of line, first unrecognized character is `,'
<eingebaut>: die Regel für Ziel „caml_z_arm.o“ scheiterte
make: *** [caml_z_arm.o] Fehler 1

with earlier versions installation has been working without issues - and after commenting-out this line of code the problem vanishes as well...

do we really need this addition - or can we fix it in order to not break the installation on Debian Jessie?

Thanks for any hints / updates!
best regards.


[edited 11.10.2017 15:55]:
is related to #13

@bschommer
Copy link
Contributor

Replacing the @ with % in the .section .note.GNU-stack,"",@progbits should solve the problem.

@snoopy0815
Copy link
Contributor Author

snoopy0815 commented Oct 11, 2017

wow - this was fast, bschommer :)

and yes - perfectly right 👍 this fixes the problem on Debian Jessie - I've tested it right away - wonderful!
Thank you very much!!

if this update finds its way into the next version - and astrada/google-drive-ocamlfuse will link its installation scripts to this new version, the world will be perfect again :)
[sorry - of course this is off-topic - just for referencing where this problem arrises]

Thank you very much again!!
cheers.

snoopy0815 added a commit to snoopy0815/Zarith that referenced this issue Oct 11, 2017
see ocaml#14 as reference.

Replacing the @ with % in the .section .note.GNU-stack,"",@progbits in order to be able to install Zarith again on Raspberry Debian Jessie.

Tested it on Raspberry Pi Debian Jessie (2017-09-07).
snoopy0815 referenced this issue Oct 11, 2017
…y default for .S files, which is useless for us and only cause trouble; see issue #11)
@cfcs
Copy link

cfcs commented Oct 11, 2017

maybe worth considering including the compiler flag from here:
#13 (comment)

EDIT: Summed up my suggestion in #16

@xavierleroy
Copy link
Contributor

Fixed by pull request #15.

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

No branches or pull requests

4 participants