### Ubuntu Version
Ubuntu 26.04 LTS
### Desktop Environment (if applicable)
GNOME
### Problem Description
I'm building a home server from old parts, mostly because I'm using it for chip design and DDR3 is the only affordable way to get lots of DRAM these days
It's a recycled HP Prioliant,The CPU is an x86-64-v2 variant - I'm building OpenRoad locally and it's crashing trying to open the screen with:
Starting program: /home/paul/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad -gui
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff6fff6c0 (LWP 258252)]
Thread 1 "openroad" received signal SIGILL, Illegal instruction.
0x0000000006dbd246 in QArrayDataPointer<QWindowSystemInterfacePrivate::WindowSystemEvent*>::reallocateAndGrow(QArrayData::GrowthPosition, long long, QArrayDataPointer<QWindowSystemInterfacePrivate::WindowSystemEvent*>*) ()
(gdb) x/i $pc
=> 0x6dbd246 <_ZN17QArrayDataPointerIPN29QWindowSystemInterfacePrivate17WindowSystemEventEE17reallocateAndGrowEN10QArrayData14GrowthPositionExPS3_+294>: andn %r12,%rax,%r14
(gdb) bt
#0 0x0000000006dbd246 in QArrayDataPointer<QWindowSystemInterfacePrivate::WindowSystemEvent*>::reallocateAndGrow(QArrayData::GrowthPosition, long long, QArrayDataPointer<QWindowSystemInterfacePrivate::WindowSystemEvent*>*) ()
#1 0x0000000006dbda90 in void QtPrivate::QPodArrayOps<QWindowSystemInterfacePrivate::WindowSystemEvent*>::emplace<QWindow
....
The important bit is the : "andn %r12,%rax,%r14" which is an instruction only available for x86-64-v3 - do I have to do something special these days to limit a distro to the x86-64-v1 baseline these days? or has maybe some -v3 Qt libraries somehow snuck through the build system?
### Error Messages / Logs
(gdb) r -gui
Starting program: /home/paul/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad -gui
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff6fff6c0 (LWP 258252)]
Thread 1 "openroad" received signal SIGILL, Illegal instruction.
0x0000000006dbd246 in QArrayDataPointer<QWindowSystemInterfacePrivate::WindowSystemEvent*>::reallocateAndGrow(QArrayData::GrowthPosition, long long, QArrayDataPointer<QWindowSystemInterfacePrivate::WindowSystemEvent*>*) ()
(gdb) x/i $pc
=> 0x6dbd246 <_ZN17QArrayDataPointerIPN29QWindowSystemInterfacePrivate17WindowSystemEventEE17reallocateAndGrowEN10QArrayData14GrowthPositionExPS3_+294>: andn %r12,%rax,%r14
(gdb) bt
#0 0x0000000006dbd246 in QArrayDataPointer<QWindowSystemInterfacePrivate::WindowSystemEvent*>::reallocateAndGrow(QArrayData::GrowthPosition, long long, QArrayDataPointer<QWindowSystemInterfacePrivate::WindowSystemEvent*>*) ()
#1 0x0000000006dbda90 in void QtPrivate::QPodArrayOps<QWindowSystemInterfacePrivate::WindowSystemEvent*>::emplace<QWindowSystemInterfacePrivate::WindowSystemEvent*&>(long long, QWindowSystemInterfacePrivate::WindowSystemEvent*&) ()
#2 0x0000000006dc0dba in bool QWindowSystemHelper<QWindowSystemInterface::AsynchronousDelivery>::handleEvent<QWindowSystemInterfacePrivate::ScreenGeometryEvent, QScreen*, QRect, QRect>(QScreen*, QRect, QRect) ()
#3 0x0000000006cc2ab7 in QXcbScreen::updateGeometry(QRect const&, unsigned char) ()
#4 0x0000000006cc4255 in QXcbScreen::setMonitor(xcb_randr_monitor_info_t*, unsigned int) ()
#5 0x0000000006c9c72c in QXcbConnection::initializeScreens(bool) ()
#6 0x0000000006c918d5 in QXcbConnection::QXcbConnection(QXcbNativeInterface*, bool, unsigned int, char const*) ()
#7 0x0000000006c88a0a in QXcbIntegration::QXcbIntegration(QList<QString> const&, int&, char**) ()
#8 0x0000000006c87cb7 in QXcbIntegrationPlugin::create(QString const&, QList<QString> const&, int&, char**) ()
#9 0x0000000006d971a5 in QPlatformIntegrationFactory::create(QString const&, QList<QString> const&, int&, char**, QString const&) ()
#10 0x0000000006d69aa9 in init_platform(QString const&, QString const&, QString const&, int&, char**) ()
#11 0x0000000006d68d90 in QGuiApplicationPrivate::createPlatformIntegration() ()
#12 0x0000000006d6c1db in QGuiApplicationPrivate::createEventDispatcher() ()
#13 0x0000000007344d99 in QCoreApplicationPrivate::init() ()
#14 0x0000000006d62819 in QGuiApplicationPrivate::init() ()
#15 0x0000000006849d53 in QApplicationPrivate::init() ()
#16 0x0000000005de2083 in gui::startGui(int&, char**, Tcl_Interp*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool, bool) ()
#17 0x0000000002283508 in ord::tclInit(Tcl_Interp*) ()
#18 0x000000000227fbb2 in ord::tclAppInit(Tcl_Interp*) ()
#19 0x00000000066e53ec in Tcl_MainEx ()
#20 0x000000000227f75e in main ()
(gdb)
I would like to ask questions based on your thread title. Is Ubuntu 26.04 LTS actually running on this old HP Proliant? How well is it working?
I also see this
Your topic is very difficult to read because of the way the text is formatted. I am about to give up on this topic. I will make my point. It seems to me that the problem is not with Ubuntu 26.04 LTS running on an old machine but with OpenRoad not loading.
I have checked. There is a pre-built binary for Ubuntu 26.04 LTS. Are you using a pre-built binary? These are questions that the OpenRoad support and help people will want to know. If you ask them for support.
If the problem really is with Ubuntu 26.04 LTS running on this machine. Then, we will want to know the full hardware specification.
The Proliant’s running, works great … it’s beginning to look like it’s not an Ubuntu problem, more something to do with bazel the buildsystem that openroad uses …… it’s not using the Ubuntu Qt libraries (I disassembled them, no andn instructions) but pulling its own in from somewhere, compiling them locally with the wrong flags and caching them ….. at least that’s what I currently think I’m seeing …. more tomorrow
BTW the prebuilt binary definitely doesn’t work, it’s compiled for v3 CPUs (mostly for kepler I think)