sendaoYan / riscv-port-jdk8u-ysd

https://openjdk.org/projects/riscv-port
GNU General Public License v2.0
0 stars 0 forks source link

templateInterpreter_riscv.cpp:250: multiple definition of `AbstractInterpreter::BasicType_as_index(BasicType)'; #229

Open sendaoYan opened 3 months ago

sendaoYan commented 3 months ago
/usr/bin/ld: templateInterpreter_riscv.o: in function `AbstractInterpreter::BasicType_as_index(BasicType)':
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/templateInterpreter_riscv.cpp:250: multiple definition of `AbstractInterpreter::BasicType_as_index(BasicType)'; abstractInterpreter_riscv.o:/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/abstractInterpreter_riscv.cpp:39: first defined here
/usr/bin/ld: templateInterpreter_riscv.o: in function `AbstractInterpreter::size_top_interpreter_activation(Method*)':
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/templateInterpreter_riscv.cpp:1311: multiple definition of `AbstractInterpreter::size_top_interpreter_activation(Method*)'; abstractInterpreter_riscv.o:/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/abstractInterpreter_riscv.cpp:59: first defined here
/usr/bin/ld: templateInterpreter_riscv.o: in function `AbstractInterpreter::size_activation(int, int, int, int, int, int, bool)':
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/templateInterpreter_riscv.cpp:1334: multiple definition of `AbstractInterpreter::size_activation(int, int, int, int, int, int, bool)'; abstractInterpreter_riscv.o:/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/abstractInterpreter_riscv.cpp:82: first defined here
/usr/bin/ld: templateInterpreter_riscv.o: in function `AbstractInterpreter::layout_activation(Method*, int, int, int, int, int, int, frame*, frame*, bool, bool)':
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/templateInterpreter_riscv.cpp:1373: multiple definition of `AbstractInterpreter::layout_activation(Method*, int, int, int, int, int, int, frame*, frame*, bool, bool)'; abstractInterpreter_riscv.o:/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/abstractInterpreter_riscv.cpp:121: first defined here
collect2: error: ld returned 1 exit status

standalone.log make-gcc13-x86_64-slowdebug.log make-gcc13-x86_64-release.log make-gcc13-x86_64-fastdebug.log make-gcc13-riscv64-slowdebug.log make-gcc13-riscv64-release.log make-gcc13-riscv64-fastdebug.log make-gcc13-aarch64-slowdebug.log make-gcc13-aarch64-release.log make-gcc13-aarch64-fastdebug.log make-gcc10-x86_64-slowdebug.log make-gcc10-x86_64-release.log make-gcc10-x86_64-fastdebug.log make-gcc10-riscv64-slowdebug.log make-gcc10-riscv64-release.log make-gcc10-riscv64-fastdebug.log make-gcc10-aarch64-slowdebug.log make-gcc10-aarch64-release.log make-gcc10-aarch64-fastdebug.log

sendaoYan commented 3 months ago

8144534: Refactor templateInterpreter and templateInterpreterGenerator functions

Merged templateInterpreter_x86_32/64 into templateInterpreterGenerator_x86.cpp (some 32/64 functions remain for the hand coded crc functions).

sendaoYan commented 3 months ago

To github.com:sendaoYan/riscv-port-jdk8u-ysd.git 10f65894be..96fb6f8551 minus-jbs8276799 -> minus-jbs8276799

sendaoYan commented 3 months ago

make-gcc13-x86_64-slowdebug.log make-gcc13-x86_64-release.log make-gcc13-x86_64-fastdebug.log make-gcc13-riscv64-slowdebug.log make-gcc13-riscv64-release.log make-gcc13-riscv64-fastdebug.log make-gcc13-aarch64-slowdebug.log make-gcc13-aarch64-release.log make-gcc13-aarch64-fastdebug.log make-gcc10-x86_64-slowdebug.log make-gcc10-x86_64-release.log make-gcc10-x86_64-fastdebug.log make-gcc10-riscv64-slowdebug.log make-gcc10-riscv64-release.log make-gcc10-riscv64-fastdebug.log make-gcc10-aarch64-slowdebug.log make-gcc10-aarch64-release.log make-gcc10-aarch64-fastdebug.log

sendaoYan commented 3 months ago

229.patch