Comments (4)
Seems to be an issue with gcc 4.8. Anyway it's now fixed.
Could you validate and if it's okay close this issue?
Thanks
from openfpgaloader.
OK, got it compiled now but get a when trying to run, backtrace:
[verhaegs@localhost build]$ gdb ./openFPGALoader
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-119.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/verhaegs/eda/code/openFPGALoader/build/openFPGALoader...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/verhaegs/eda/code/openFPGALoader/build/./openFPGALoader
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
terminate called after throwing an instance of 'std::regex_error'
what(): regex_error
Program received signal SIGABRT, Aborted.
0x00007ffff6d7e387 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.6-13.el7.x86_64 elfutils-libelf-0.176-4.el7.x86_64 elfutils-libs-0.176-4.el7.x86_64 glibc-2.17-307.el7.1.x86_64 libattr-2.4.46-13.el7.x86_64 libcap-2.22-11.el7.x86_64 libftdi-1.1-4.el7.x86_64 libusbx-1.0.21-1.el7.x86_64 systemd-libs-219-73.el7_8.8.x86_64 xz-libs-5.2.2-1.el7.x86_64 zlib-1.2.7-18.el7.x86_64
(gdb) bt
#0 0x00007ffff6d7e387 in raise () from /lib64/libc.so.6
#1 0x00007ffff6d7fa78 in abort () from /lib64/libc.so.6
#2 0x00007ffff76bbcb3 in __gnu_cxx::__verbose_terminate_handler ()
at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#3 0x00007ffff76c1e26 in __cxxabiv1::__terminate(void (*)()) ()
at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:47
#4 0x00007ffff76c1e61 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:57
#5 0x00007ffff76c2094 in __cxxabiv1::__cxa_throw (obj=obj@entry=0x73a550,
tinfo=tinfo@entry=0x7ffff79a7a50 <typeinfo for std::regex_error>,
dest=dest@entry=0x7ffff76ea7f0 <std::regex_error::~regex_error()>)
at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:95
#6 0x00007ffff76bdd2b in std::__throw_regex_error (__ecode=std::regex_constants::_S_error_brack)
from /home/verhaegs/software/no-stow/gcc-8.3.0/lib64/libstdc++.so.6
#7 0x00000000004dacb0 in std::__detail::_Compiler<char const*, std::regex_traits<char> >::_M_bracket_expression() ()
#8 0x00000000004d8bca in std::__detail::_Compiler<char const*, std::regex_traits<char> >::_M_atom() ()
#9 0x00000000004d61b9 in std::__detail::_Compiler<char const*, std::regex_traits<char> >::_M_term() ()
#10 0x00000000004d2514 in std::__detail::_Compiler<char const*, std::regex_traits<char> >::_M_alternative() ()
#11 0x00000000004ce86a in std::__detail::_Compiler<char const*, std::regex_traits<char> >::_M_disjunction() ()
#12 0x00000000004d8ab0 in std::__detail::_Compiler<char const*, std::regex_traits<char> >::_M_atom() ()
#13 0x00000000004d61b9 in std::__detail::_Compiler<char const*, std::regex_traits<char> >::_M_term() ()
#14 0x00000000004d2514 in std::__detail::_Compiler<char const*, std::regex_traits<char> >::_M_alternative() ()
#15 0x00000000004d255e in std::__detail::_Compiler<char const*, std::regex_traits<char> >::_M_alternative() ()
#16 0x00000000004d255e in std::__detail::_Compiler<char const*, std::regex_traits<char> >::_M_alternative() ()
#17 0x00000000004d255e in std::__detail::_Compiler<char const*, std::regex_traits<char> >::_M_alternative() ()
#18 0x00000000004d255e in std::__detail::_Compiler<char const*, std::regex_traits<char> >::_M_alternative() ()
#19 0x00000000004ce86a in std::__detail::_Compiler<char const*, std::regex_traits<char> >::_M_disjunction() ()
#20 0x00000000004ca36e in std::__detail::_Compiler<char const*, std::regex_traits<char> >::_Compiler(char const* const&, char const* const&, std::regex_traits<char>&, unsigned int) ()
#21 0x00000000004c5ed3 in std::shared_ptr<std::__detail::_Automaton> std::__detail::__compile<char const*, std::regex_traits<char> >(char const* const&, char const* const&, std::regex_traits<char>&, unsigned int) ()
#22 0x00000000004c277f in std::basic_regex<char, std::regex_traits<char> >::basic_regex(char const*, unsigned int) ()
#23 0x00000000004b7ed2 in __static_initialization_and_destruction_0 ()
#24 0x00000000004bb9b5 in _GLOBAL__sub_I_main ()
#25 0x00000000004f41dd in __libc_csu_init ()
#26 0x00007ffff6d6a4e5 in __libc_start_main () from /lib64/libc.so.6
#27 0x0000000000495509 in _start ()
Compiled with own compiled gcc-8.3.0 and then the program runs fine on CentOS7.
Maybe better to not try support such an old gcc version ?
from openfpgaloader.
Tried now the different devtoolset versions of software collections and they all seem to generate proper executables. This is g++ v6.3.1 in devtoolset-6, g++ v7.3.1 in devtoolset-7, g++ v8.3.1 in devtoolset-8 and g++ v9.3.1 in devtoolset-9.
It's OK for me to close this issue.
from openfpgaloader.
Thank for these tests. Really interesting! I must update the README to add this information.
It's true, I'm not sure It's a good idea to try support for this old gcc
Thanks again
from openfpgaloader.
Related Issues (20)
- Adding support for the Digilent XUP USB-JTAG Programmer
- unable to open ftdi device: -6 (ftdi_usb_reset failed) tang nano 20k HOT 11
- Refresh: FAIL on Lattice MachXO2 HOT 13
- cheat code support. HOT 3
- Attempting to Flash SPI PROM of a custom board - Dragon-L HOT 24
- XC7A200 on TE0712: Boot from flash only after one time programming with Xilinx tools HOT 6
- Artix Ultrascale XCAU25P support for flash(mcs file)
- 3- vs. 4-Byte-Adressing: Flashing a MT25QL256 attached to Cyclone 10CL025 fails HOT 4
- Segmentation fault with unknown flash chip ID HOT 3
- Cannot find Board or Programming cable HOT 4
- How to add a Xilinx Spartan 7 Part? HOT 9
- Gowin GW2A-LV18EQ144C8 external flash troubles HOT 5
- Tang Nano 9K CRC error with -b tangnano9k HOT 13
- Support for xc3s700? HOT 3
- spiOverJtag support for more than one device on scan chain
- efinix: program reports success (returns 0) when programming fails HOT 3
- Efiinix: Occasional failure to detect SPI flash (possibly when flash device is still in in QSPI mode)
- Trying to Flash xc6slx25, But Found No spiOverJtag File HOT 6
- Request for C5E215 HOT 1
- Help with CYC5000 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openfpgaloader.