reopen -1 thanks Hi Lisandro,
The -fPIE flags comes from the automatically generated hardening options, which override the the -fPIC flag that comes from lyx Makefile, since it comes later in the argument list. lyx reports this configuration: C++ Compiler flags: -Wall -Wextra -std=c++11 -fPIC -O2 -Wno-deprecated-declarations C++ Compiler user flags: -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -fPIC The first line are the default lyx options. The second line are the automatically generated hardening options + "-fPIC" that I use as a workaround to override -fPIE. The two lines are merged and given to g++ for compilation. This means that every package that uses qt5 and enables hardening flags that include +pie (true by default for =all) will encounter this issue and the maintainers will need to append -fPIC as a workaround. If -fPIC is needed by design for qt5, then the issue (even as a wishlist) is in dpkg-buildflags. What do you think? Nick -- =Do- N.AND