This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Unresolved references to __builtin functions building libgcj


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 ]


posix-threads.ii.gz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]