https://bugs.kde.org/show_bug.cgi?id=339862

Mark Wielaard <m...@klomp.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m...@klomp.org
     Ever confirmed|0                           |1
             Status|REPORTED                    |CONFIRMED

--- Comment #2 from Mark Wielaard <m...@klomp.org> ---
I am seeing something similar on debian-armhf:

gcc -Winline -Wall -Wshadow -Wno-long-long -g -fno-stack-protector    -g -O0
-mcpu=cortex-a8 -mthumb    -o v6intThumb v6intThumb-v6intThumb.o  
/usr/bin/ld: v6intThumb-v6intThumb.o: relocation R_ARM_THM_MOVW_ABS_NC against
`a local symbol' can not be used when making a shared object; recompile with
-fPIC
v6intThumb-v6intThumb.o: error adding symbols: Bad value

Note that it isn't exactly the same issue, because it isn't build with -fPIC or
-pie, but using either -fPIC or -pie will produce the same issue.

The proposed patch doesn't work though. The assembler will then complain:
/tmp/ccveFwf0.s: Assembler messages:
/tmp/ccveFwf0.s:140: Error: offset out of range

It does seem to build on fedora-arm, so there are at least some configurations
that do work. But it would be nice to see if this test could be written without
relying on trying to load the address of a label.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to