Bug 46803 - qt5-script: ошибка сборки на LoongArch
Summary: qt5-script: ошибка сборки на LoongArch
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: qt5-script (show other bugs)
Version: unstable
Hardware: all Linux
: P5 normal
Assignee: Sergey V Turchin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 45802
  Show dependency tree
 
Reported: 2023-07-07 14:37 MSK by Alexey Sheplyakov
Modified: 2023-07-13 14:41 MSK (History)
4 users (show)

See Also:


Attachments
патч (1.68 KB, patch)
2023-07-07 14:56 MSK, Alexey Sheplyakov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Sheplyakov 2023-07-07 14:37:30 MSK
In file included from ../3rdparty/javascriptcore/JavaScriptCore/interpreter/Register.h:32,
                 from ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.h:35:
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSValue.h: In constructor 'QTJSC::JSValue::JSValue(QTJSC::JSCell*)':
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSValue.h:493:28: error: cast from 'QTJSC::JSCell*' to 'int32_t' {aka 'int'} loses precision [-fpermissive]
  493 |         u.asBits.payload = reinterpret_cast<int32_t>(ptr);
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSValue.h: In constructor 'QTJSC::JSValue::JSValue(const QTJSC::JSCell*)':
../3rdparty/javascriptcore/JavaScriptCore/runtime/JSValue.h:505:28: error: cast from 'QTJSC::JSCell*' to 'int32_t' {aka 'int'} loses precision [-fpermissive]
  505 |         u.asBits.payload = reinterpret_cast<int32_t>(const_cast<JSCell*>(ptr));
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:5353: obj/release/JITStubs.o] Error 1
Comment 1 Alexey Sheplyakov 2023-07-07 14:56:31 MSK
Created attachment 13740 [details]
патч
Comment 2 Repository Robot 2023-07-13 14:41:46 MSK
qt5-script-5.15.10-alt1 -> sisyphus:

 Mon Jul 10 2023 Sergey V Turchin <zerg@altlinux> 5.15.10-alt1
 - new version
 - support LoongArch architecture (lp64d ABI) (thanks asheplyakov@alt) (closes: #46803)