Unresolved references to __builtin functions building libgcj

Bryce McKinlay bryce@albatross.co.nz
Tue Oct 10 19:43:00 GMT 2000


Attempting to build libgcj with the latest compiler dies for me with the
following link failure:

./.libs/libgcj.so: undefined reference to `__pure_virtual'
./.libs/libgcj.so: undefined reference to `terminate(void)'
./.libs/libgcj.so: undefined reference to `__builtin_vec_new'
./.libs/libgcj.so: undefined reference to `__builtin_new'

The c++ compiler appears to be leaving unresolved references to builtin
functions in some of the object files it generates. See the attached .ii
file for an example - a reference to __builtin_new appears in the
_Jv_ThreadInitData function.

regards

  [ bryce ]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: posix-threads.ii.gz
Type: application/x-gzip
Size: 30636 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20001010/fe2cbad6/attachment.bin>


More information about the Gcc-bugs mailing list