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

Failure of tests/asmcomp on sparc #6665

Closed
vicuna opened this issue Nov 19, 2014 · 2 comments

Comments

Projects
None yet
1 participant
@vicuna
Copy link

commented Nov 19, 2014

Original bug ID: 6665
Reporter: @glondu
Status: closed (set by @damiendoligez on 2014-12-24T16:26:17Z)
Resolution: fixed
Priority: normal
Severity: minor
Platform: Linux
OS: Debian
Version: 4.02.1
Target version: 4.02.2+dev / +rc1
Fixed in version: 4.02.2+dev / +rc1
Category: ~DO NOT USE (was: OCaml general)
Tags: patch

Bug description

On sparc (on Debian), many tests from this directory fail.

Additional information

Running tests from 'tests/asmcomp' ...
make arch codegen
make tests
... testing 'fib':/tmp/ccTc3pIr.o: In function main': /«PKGBUILDDIR»/testsuite/tests/asmcomp/main.c:62: undefined reference to call_gen_code'
collect2: error: ld returned 1 exit status
=> failed
... testing 'tak':/tmp/ccEO2X4P.o: In function main': /«PKGBUILDDIR»/testsuite/tests/asmcomp/main.c:52: undefined reference to call_gen_code'
collect2: error: ld returned 1 exit status
=> failed
... testing 'quicksort':/tmp/ccRfwbJn.o: In function main': /«PKGBUILDDIR»/testsuite/tests/asmcomp/main.c:90: undefined reference to call_gen_code'
collect2: error: ld returned 1 exit status
=> failed
... testing 'quicksort2':/tmp/ccqU1poP.o: In function main': /«PKGBUILDDIR»/testsuite/tests/asmcomp/main.c:90: undefined reference to call_gen_code'
collect2: error: ld returned 1 exit status
=> failed
... testing 'soli':/tmp/cc2eGYYm.o: In function main': /«PKGBUILDDIR»/testsuite/tests/asmcomp/main.c:52: undefined reference to call_gen_code'
collect2: error: ld returned 1 exit status
=> failed
... testing 'arith':/tmp/ccSGBYFO.o: In function do_test': /«PKGBUILDDIR»/testsuite/tests/asmcomp/mainarith.c:67: undefined reference to call_gen_code'
collect2: error: ld returned 1 exit status
=> failed
... testing 'checkbound':/tmp/ccejj4x4.o: In function main': /«PKGBUILDDIR»/testsuite/tests/asmcomp/main.c:113: undefined reference to call_gen_code'
/«PKGBUILDDIR»/testsuite/tests/asmcomp/main.c:119: undefined reference to call_gen_code' collect2: error: ld returned 1 exit status => failed ... testing 'tagged-fib':/tmp/ccvFpEix.o: In function main':
/«PKGBUILDDIR»/testsuite/tests/asmcomp/main.c:62: undefined reference to call_gen_code' collect2: error: ld returned 1 exit status => failed ... testing 'tagged-integr':/tmp/ccjViqo3.o: In function main':
/«PKGBUILDDIR»/testsuite/tests/asmcomp/main.c:71: undefined reference to call_gen_code' collect2: error: ld returned 1 exit status => failed ... testing 'tagged-quicksort':/tmp/ccbDwJmE.o: In function main':
/«PKGBUILDDIR»/testsuite/tests/asmcomp/main.c:90: undefined reference to call_gen_code' collect2: error: ld returned 1 exit status => failed ... testing 'tagged-tak':/tmp/cczfkcJ6.o: In function main':
/«PKGBUILDDIR»/testsuite/tests/asmcomp/main.c:52: undefined reference to `call_gen_code'
collect2: error: ld returned 1 exit status
=> failed
... testing 'optargs': => passed
... testing 'staticalloc': => passed

File attachments

@vicuna

This comment has been minimized.

Copy link
Author

commented Nov 20, 2014

Comment author: @glondu

I've attached a patch that fixes the issue.

@vicuna

This comment has been minimized.

Copy link
Author

commented Dec 24, 2014

Comment author: @damiendoligez

Thanks for the report and patch.

Applied to 4.02 (rev 15743) and trunk (rev 15744).

@vicuna vicuna closed this Dec 24, 2014

@vicuna vicuna added this to the 4.02.2 milestone Mar 14, 2019

@vicuna vicuna added the bug label Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.