open64-compiler / open64

open64 compiler
76 stars 29 forks source link

build oepncc & xcalcc issues #11

Closed shaw1025 closed 1 year ago

shaw1025 commented 1 year ago

open64 repo on github, branch w2ll can build open64 & xcalcc, but still have some issues : opencc & xcalcc:

  1. There should be no warnings
  2. xcalcc --version error openCC & xcalc++:
  3. There should be no warnings
  4. xcalc++ build cpp error
  5. xcalc++ --version error
shaw1025 commented 1 year ago

Some problems when using xcalc++ build.cpp cat test.cpp

include

int main(){ std::cout << "hello" << std::endl; }

xcalc++ -c test.cpp 2023-05-03 10:36:38,121 - xcalc++ - ERROR - /app/install/bin/../lib/gcc-lib/x86_64-open64-linux/5.0/llc: error: /app/install/bin/../lib/gcc-lib/x86_64-open64-linux/5.0/llc: test.O.ll:27:9: error: invalid linkage for function declaration declare internal ptr @_ZNSo3putEc(ptr, i8 signext) #0 ^ (xcalc++:613)