We're updating the issue view to help you get more done. 

Jikes RVM fails to build on Ubuntu 11.10 with undefined references in sys.c

Description

The Jikes RVM fails to build on Ubuntu 11.10 with an error about undefined references in sys.c (original report by Swarnendu Biswas).

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 build-bootloader: [exec] /tmp/cc1kijAN.o: In function `getVmThread': [exec] /home/swarnendu/Documents/jikesrvm-3.1.1/tools/bootImageRunner/sys.C:202: undefined reference to `pthread_getspecific' [exec] /tmp/cc1kijAN.o: In function `sysNanoTime': [exec] /home/swarnendu/Documents/jikesrvm-3.1.1/tools/bootImageRunner/sys.C:803: undefined reference to `clock_gettime' [exec] /tmp/cc1kijAN.o: In function `sysThreadBind': [exec] /home/swarnendu/Documents/jikesrvm-3.1.1/tools/bootImageRunner/sys.C:1048: undefined reference to `pthread_setaffinity_np' [exec] /tmp/cc1kijAN.o: In function `sysSetupHardwareTrapHandler': [exec] /home/swarnendu/Documents/jikesrvm-3.1.1/tools/bootImageRunner/sys.C:1202: undefined reference to `pthread_sigmask' [exec] /tmp/cc1kijAN.o: In function `sysThreadCreate': [exec] /home/swarnendu/Documents/jikesrvm-3.1.1/tools/bootImageRunner/sys.C:991: undefined reference to `pthread_create' [exec] /home/swarnendu/Documents/jikesrvm-3.1.1/tools/bootImageRunner/sys.C:1000: undefined reference to `pthread_detach' [exec] /tmp/cc1kijAN.o: In function `setThreadLocal(unsigned int, void*)': [exec] /home/swarnendu/Documents/jikesrvm-3.1.1/tools/bootImageRunner/sys.C:185: undefined reference to `pthread_setspecific' [exec] /tmp/cc1kijAN.o: In function `createThreadLocal()': [exec] /home/swarnendu/Documents/jikesrvm-3.1.1/tools/bootImageRunner/sys.C:157: undefined reference to `pthread_key_create' [exec] /tmp/cc1kijAN.o: In function `sysThreadTerminate': [exec] /home/swarnendu/Documents/jikesrvm-3.1.1/tools/bootImageRunner/sys.C:1351: undefined reference to `pthread_getspecific' [exec] collect2: ld returned 1 exit status

Environment

Ubuntu 11.10 64bit, g++ 4.6.1

Status

Assignee

DaveG

Reporter

Erik Brangs

Labels

None

External issue ID

None

Components

Fix versions

Affects versions

git tip
3.1.1

Priority

Highest