Closed Gigithecode closed 6 years ago
I can't seem to reproduce this (un)fortunately.
work
directory?channel type customly must define watchProc
seems to be the cause of the segfault. This is a Tcl or Quartus thing, so there might be an issue with your libraries or dependencies?
Our main build machine is Ubuntu 16.04, and I was able to build master just now using the following versions of Quartus:
We also have a build bot that runs through the permutations of lite and standard Quartus. If I remember correctly, the built bot starts at v16.0 and goes to the latest v18.0. I tend to recommend using the latest version of Quartus. While 16.0 works now, it's over 2 years old and I don't know how long it will continue to work with our code base as we move forward.
I don't recall exactly what happens if I don't, but on my Quartus installs, I usually delete three of the included library files:
${QUARTUS_PATH}/quartus/linux64/libboost_system.so
${QUARTUS_PATH}/quartus/linux64/libccl_curl_drl.so
${QUARTUS_PATH}/quartus/linux64/libstdc++.so.6
(ref: https://github.com/rtucker/bladeRF-buildbot/blob/dev-modernize/docker-quartus/Dockerfile)
This may break your Quartus install entirely, but it does work on my Ubuntu 16.04 environment.
Hello, Yes, I succeeded to build it in the past (probably with Quartus web 15) Yes, I tried removing work but it's doesn't help...
Part of my env after running ~/intelFPGA_lite/18.0/nios2eds/nios2_command_shell.sh ;
QUARTUS_ROOTDIR=/home/gigi/intelFPGA_lite/18.0/quartus SOPC_KIT_NIOS2=/home/gigi/intelFPGA_lite/18.0/nios2eds PATH=/home/gigi/.local/bin:/home/gigi/.nvm/versions/node/v10.9.0/bin:/home/gigi/intelFPGA_lite/18.0/nios2eds/bin/gnu/H-x86_64-pc-linux-gnu/bin:/home/gigi/intelFPGA_lite/18.0/nios2eds/sdk2/bin:/home/gigi/intelFPGA_lite/18.0/nios2eds/bin:/home/gigi/intelFPGA_lite/18.0/modelsim_ase/linuxaloem:/home/gigi/intelFPGA_lite/18.0/quartus/bin:/home/gigi/intelFPGA_lite/18.0/quartus/sopc_builder/bin...
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/
The crash occurs in a java process "com.altera.embeddedsw.commandline.bsp.BspCreateSettingsCommand"
So I was wondering if something in my java configuration was messy... but Altera uses it's own embedded java VM "/home/gigi/intelFPGA_lite/16.1/quartus/linux64/jre64/bin/java"
Whis is ; java version "1.8.0_05" Java(TM) SE Runtime Environment (build 1.8.0_05-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
I cannot figure out what's the problem. I'm going to try in a chrooted env. in case something mess in my configuration.
I deleted libssl, libcrypto and liblzma.so from quartus/linux64 and link my system lib. I'm going to try to delete libboost_system.so, libccl_curl_drl.so and libstdc++.so.6 as well...
deleting ${QUARTUS_PATH}/quartus/linux64/libboost_system.so ${QUARTUS_PATH}/quartus/linux64/libccl_curl_drl.so ${QUARTUS_PATH}/quartus/linux64/libstdc++.so.6 doesn't help...
Ok, i cloned bladeRF-buildbot, I've got a docker up and running... How to build and run the image?
Basically,
dev-modernize
branch of bladeRF-buildbotcd docker-quartus
and ./do_build
git clone https://github.com/Nuand/bladeRF.git && cd bladeRF
)docker run --rm -i -t -v /sys:/sys:ro -v $(pwd):/build quartus-lite
Altera Nios2 Command Shell
cd /build/hdl/quartus
./build_bladerf.sh -c -b bladeRF -r hosted -s 115
(or other arguments as desired)I believe that will do it! If it does, you might also want to compare the list of packages installed by that Dockerfile with what's installed on your system... it's possible some dependency is missing somewhere.
Thank you a lot ! I'll have a look on it !
It works well! Thank you... I'll analyze why the "native" compilation failed...
I'm running into the same issue running Quartus 17.1 with the native compilation, seems like the docker file for bladeRF-buildbot, was broken somewhere between Ubuntu 16 and Ubuntu 22. Did we figure out why the boost libraries not loaded channel type customly must define watchProc Aborted (core dumped)
issue was occurring?
Hello,
On Ubuntu 16.04 - Gnu/Linux gigi@clevo:~/bladeRF/hdl/quartus/work/bladerf-115-hosted$ uname -a Linux clevo.gigi.edu 4.13.0-46-generic #51-Ubuntu SMP Tue Jun 12 12:36:29 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
What ever I tried, I cannot succeed to synthesis fpga image. The git branch is 'origin/master' With Quartus 16 web edition (lite) - I tried from 13.0 to 18.0