View Issue Details

IDProjectCategoryView StatusLast Update
0037288LazarusLCLpublic2020-07-01 16:51
ReporterAlfred Assigned ToZeljan Rikalo  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version2.1 (SVN) 
Summary0037288: QMake script error on Haiku x86
DescriptionSome options need to be set to build libQt5Pas.so on i386 systems. The same is valid for Haiku x86.
However, QMAKE_HOST.arch does not report its expected value.
QMAKE_HOST.arch output on x86: BePC.
QMAKE_HOST.arch output on x86_64: x86_64.
So, SSE corrections are not used, resulting in crashes when using libQt5Pas.so on Haiku x86.

Cheap change. Add into Qt5Pas.pro:

haiku:isEmpty(is64) {
  message("Added stack alignment options to CXXFLAGS in support of SSE i386 on Haiku")
  QMAKE_CXXFLAGS += -mstackrealign -mincoming-stack-boundary=2
}

Thanks.
TagsNo tags attached.
Fixed in Revision63484
LazTarget-
WidgetsetQT5
Attached Files

Activities

CudaText man

2020-06-30 23:24

reporter   ~0123691

Yes, I need this change to debug CudaText on Haiku

Zeljan Rikalo

2020-07-01 11:46

developer   ~0123697

Please test and close if ok.

Alfred

2020-07-01 16:50

reporter   ~0123703

Working.
haikuprox86.JPG (76,310 bytes)   
haikuprox86.JPG (76,310 bytes)   
haikuprox8664.JPG (63,750 bytes)   
haikuprox8664.JPG (63,750 bytes)   

Alfred

2020-07-01 16:51

reporter   ~0123704

Thanks.

Issue History

Date Modified Username Field Change
2020-06-30 19:47 Alfred New Issue
2020-06-30 23:24 CudaText man Note Added: 0123691
2020-07-01 09:32 Zeljan Rikalo Assigned To => Zeljan Rikalo
2020-07-01 09:32 Zeljan Rikalo Status new => assigned
2020-07-01 11:46 Zeljan Rikalo Status assigned => resolved
2020-07-01 11:46 Zeljan Rikalo Resolution open => fixed
2020-07-01 11:46 Zeljan Rikalo Fixed in Revision => 63484
2020-07-01 11:46 Zeljan Rikalo LazTarget => -
2020-07-01 11:46 Zeljan Rikalo Widgetset QT5 => QT5
2020-07-01 11:46 Zeljan Rikalo Note Added: 0123697
2020-07-01 16:50 Alfred Note Added: 0123703
2020-07-01 16:50 Alfred File Added: haikuprox86.JPG
2020-07-01 16:50 Alfred File Added: haikuprox8664.JPG
2020-07-01 16:51 Alfred Status resolved => closed
2020-07-01 16:51 Alfred Note Added: 0123704