Bug#1025948: gcc: provide --debug-prefix-map for gnu as with -ffile-prefix-map

2022-12-12 Thread Konstantin Demin
ings -f empty.S.o | grep -F ${PWD} && echo NOT OK || echo OK empty.S.o: /home/krd/gcc-prefix-case empty.S.o: /home/krd/gcc-prefix-case NOT OK $ gcc -c -o empty.S.o empty.S -O2 -g -ffile-prefix-map=${PWD}=. -Wa,--debug-prefix-map,${PWD}=. && strings -f empty.S.o | grep -F ${PWD} && echo NOT OK || echo OK OK -- SY, Konstantin Demin

Bug#657962: gcc-defaults: Add gcc-plugin-dev?

2019-03-12 Thread Konstantin Demin
olving FTBFS is part of work). -- SY, Konstantin Demin

Re: Bug#841368: gcc-6 6.2.0-7 breaks kernel build if stack protection is enabled

2016-10-20 Thread Konstantin Demin
IC flag, but it's not used in packaging because of executable already built with -fPIE. This bug report is just another round of game with compiler/linker flags. In my turn, I would rather define protective flags to provide backward and forward compatibility. -- SY, Konstantin Demin --- a

Re: gcc-6 6.2.0-7 breaks kernel build if stack protection is enabled

2016-10-20 Thread Konstantin Demin
s390x. Closes: #835148. Starting at gcc 6.2.0-7 we must provide "-fno-PIE -fno-PIC" in beginning of CFLAGS to build kernel successfully. I'm currently looking for correct way to do this trick. -- SY, Konstantin Demin