Build results: qbe

Build results: qbe

[FAIL] c52f9162c4d35f3b55001d7337d618184961966f

misc fixes for osx

With the default toolchain, it looks like we have to
make sure all symbols are loaded using rip-relative
addressing.

OK: build: make

STDOUT

cc main.c
cc util.c
cc parse.c
cc cfg.c
cc mem.c
cc ssa.c
cc alias.c
cc load.c
cc copy.c
cc fold.c
cc live.c
cc spill.c
cc rega.c
cc gas.c
cc amd64/targ.c
cc amd64/sysv.c
cc amd64/isel.c
cc amd64/emit.c
cc arm64/targ.c
cc arm64/abi.c
cc arm64/isel.c
cc arm64/emit.c
ld obj/qbe


STDERR



FAIL: test: make check

STDOUT

tools/test.sh all
abi1.ssa...                                  [ok]
abi2.ssa...                                  [ok]
abi3.ssa...                                  [ok]
abi4.ssa...                                  [ok]
abi5.ssa...                                  [cc fail]
abi6.ssa...                                  [cc fail]
align.ssa...                                 [ok]
collatz.ssa...                               [ok]
cprime.ssa...                                [ok]
cup.ssa...                                   [ok]
dark.ssa...                                  [ok]
double.ssa...                                [ok]
echo.ssa...                                  [cc fail]
eucl.ssa...                                  [ok]
euclc.ssa...                                 [ok]
fixarg.ssa...                                [ok]
fpcnv.ssa...                                 [ok]
ldbits.ssa...                                [ok]
ldhoist.ssa...                               [ok]
loop.ssa...                                  [ok]
mandel.ssa...                                [cc fail]
max.ssa...                                   [ok]
philv.ssa...                                 [ok]
prime.ssa...                                 [ok]
puts10.ssa...                                [cc fail]
queen.ssa...                                 [cc fail]
strcmp.ssa...                                [ok]
strspn.ssa...                                [ok]
sum.ssa...                                   [ok]
vararg1.ssa...                               [cc fail]
vararg2.ssa...                               [cc fail]

8 test(s) failed!
Makefile:70: recipe for target 'check' failed


STDERR

/usr/bin/ld: /tmp/ccE6U0oZ.o: relocation R_X86_64_PC32 against symbol `printf@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
/usr/bin/ld: /tmp/ccotGhU4.o: relocation R_X86_64_PC32 against symbol `printf@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
/usr/bin/ld: /tmp/ccp71Ur1.o: relocation R_X86_64_PC32 against symbol `printf@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
/usr/bin/ld: /tmp/ccTR0KTh.o: relocation R_X86_64_PC32 against symbol `putchar@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
/usr/bin/ld: /tmp/ccMBqyWt.o: relocation R_X86_64_PC32 against symbol `puts@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
/usr/bin/ld: /tmp/ccJgJWYu.o: relocation R_X86_64_PC32 against symbol `calloc@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
/usr/bin/ld: /tmp/ccdcvowf.o: relocation R_X86_64_PC32 against symbol `vprintf@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
/usr/bin/ld: /tmp/ccKKWtzi.o: relocation R_X86_64_PC32 against symbol `printf@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make: *** [check] Error 8


NO RUN: clean: make clean