jesusandres-ferrer
jesusandres-ferrer
Hi, I had already modified tools/cpp/CROSSTOOL as well as exported CC and CXX and added to LD_LIBARY_PATH variable the lib64 Thanks,
Hi, thanks, adding compiler_flag or link_flag doesn't seem to help. How do I add the --verbose_failures flag to ./compile.sh ?
Hi, if I set the BAZEL_ARGS I get this error instead : Loading of target '@bazel_tools//tools/jdk:ijar' failed; build aborted: no such target '@bazel_tools//tools/jdk:ijar': target 'ijar' not declared in package 'tools/jdk'...
Hi, the command that fails is this one: (cd $HOME/.cache/bazel/_bazel_$USER/dcfa5b4604a3b008ad5ed0a566717120/bazel && exec env - $HOME/.cache/bazel/_bazel_$USER/dcfa5b4604a3b008ad5ed0a566717120/bazel/_bin/build-runfiles bazel-out/local_linux-fastbuild/bin/src/tools/android/java/com/google/devtools/build/android/ziputils/all.runfiles_manifest bazel-out/local_linux-fastbuild/bin/src/tools/android/java/com/google/devtools/build/android/ziputils/all.runfiles) And if I do this: (cd $HOME/.cache/bazel/_bazel_$USER/dcfa5b4604a3b008ad5ed0a566717120/bazel && exec env - LD_LIBRARY_PATH=$HOME/local.gcc-4.8.1/lib64:$HOME/jdk1.8.0_65/lib:/usr/local/cuda-7.0/lib64 $HOME/.cache/bazel/_bazel_$USER/dcfa5b4604a3b008ad5ed0a566717120/bazel/_bin/build-runfiles...
Hi, no worries and thanks for the help. Could you be a little more specific ? Which is the correct place of ./tools/cpp/CROSSTOOL ? Thanks :+1:
Hi Thanks, Unfortunately, I had already included those flags into the CROSSTOOL and local-linx toolchain, and still takes the wrong libstdc++. /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found I am sure it...
Hi, Unfortunately, this doesn't solve the problem. The gcc_wrapper.sh is used, but still there is linking errors. The error now is this: (cd $HOME/.cache/bazel/_bazel_$USER/dcfa5b4604a3b008ad5ed0a566717120/bazel && exec env - $HOME/.cache/bazel/_bazel_$USER/dcfa5b4604a3b008ad5ed0a566717120/bazel/_bin/build-runfiles bazel-out/local_linux-fastbuild/bin/src/java_tools/buildjar/JavaBuilder.runfiles_manifest...
Hi, sorry, I meant the error is the same, and is output in that command. The error is still this: $HOME/.cache/bazel/_bazel_$USER/dcfa5b4604a3b008ad5ed0a566717120/bazel/_bin/build-runfiles: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.14' not found (required by $HOME/.cache/bazel/_bazel_$USER/dcfa5b4604a3b008ad5ed0a566717120/bazel/_bin/build-runfiles) ERROR:...
Hi, I cloned the bazel git repo. I fixed CROSSTOOL as discussed above. I run `./compile.sh compile` and got the same problem stated above with this command: ``` $HOME/.cache/bazel/_bazel_$USER//97d5192f7b8aedf754ab6e2587dbb030/bazel.2/_bin/build-runfiles: /usr/lib64/libstdc++.so.6:...
Hi, Thanks. I have done the following: ``` export BAZELRC=$PWD/tmp_bazelrc ``` with `cat $PWD/tmp_bazelrc` : ``` build --verbose_failures --linkopt=-Wl,-rpath,/path/to/home/local.gcc-4.8.1/lib64 --linkopt=-Wl,-rpath,/path/to/home/jdk1.8.0_65/lib --linkopt=-Wl,-rpath,/usr/local/cuda-7.0/lib64 ``` But still the same error remains. What Am...