Bug 37118 - NVCtrl.o собран без -fPIC
Summary: NVCtrl.o собран без -fPIC
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: nvidia-settings-devel (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Sergey V Turchin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-16 18:02 MSK by Mikhail Efremov
Modified: 2019-08-19 17:33 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Efremov 2019-08-16 18:02:52 MSK
Если верить ld:
/usr/bin/ld.default: /usr/lib64/gcc/x86_64-alt-linux/8/../../../../lib64/libXNVCtrl.a(NVCtrl.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld.default: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status

Уже давно с этой ошибкой у меня xfce4-sensors-plugin не пересобирается.
Comment 1 Sergey V Turchin 2019-08-19 10:23:47 MSK
http://git.altlinux.org/gears/n/nvidia-settings.git?p=nvidia-settings.git;a=blob;f=nvidia-settings/src/libXNVCtrl/Makefile#l41
Есть там -fPIC.
Может, в xfce4-sensors-plugin отсутствует?
Comment 2 Mikhail Efremov 2019-08-19 17:04:27 MSK
Я посмотрю подробнее на это все. Просто xfce4-sensors-plugin не менялся и перестал собираться вроде как раз после какого-то обновления nvidia-settings-devel.
Comment 3 Sergey V Turchin 2019-08-19 17:21:39 MSK
Я посмотрел оба. Всё-таки у меня.
Comment 4 Repository Robot 2019-08-19 17:33:29 MSK
nvidia-settings-430.40-alt2 -> sisyphus:

Mon Aug 19 2019 Sergey V Turchin <zerg@altlinux> 430.40-alt2
- compile libXNVCtrl with -DPIC (ALT#37118)