Skip to contentSkip to conversation

sunxi-cedarx: needs -fPIC

PATCH New Fabrice Fontaine 3 participants 5 messages Jan 12, 2019 – Jan 24, 2019 Arm/Allwinner sunXi SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sunxi-cedarx: needs -fPIC

Fixes:
- http://autobuild.buildroot.org/results/c17062e1558f26c2db837883a0c33ef39dd031a2

---
 package/sunxi-cedarx/sunxi-cedarx.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/sunxi-cedarx/sunxi-cedarx.mk +1 -1
index 219f1bc74b..5b99f04181 100644
@@ -19,7 +19,7 @@ SUNXI_CEDARX_BIN_DIR = $(@D)/libcedarv/linux-armel2
 endif
 
 define SUNXI_CEDARX_BUILD_AVHEAP
-	$(TARGET_CC) $(TARGET_CFLAGS) \
+	$(TARGET_CC) $(TARGET_CFLAGS) -fPIC \
 		-c $(SUNXI_CEDARX_BIN_DIR)/adapter/avheap/avheap.c \
 		-o $(SUNXI_CEDARX_BIN_DIR)/adapter/avheap/avheap.o \
 		-I $(SUNXI_CEDARX_BIN_DIR)/adapter/avheap \
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 sunxi-cedarx: needs -fPIC

Hello,

Quoted 4 lines · Fabrice Fontaine

Fixes:
- http://autobuild.buildroot.org/results/c17062e1558f26c2db837883a0c33ef39dd031a2

Could you explain why we are seeing such build errors since December 5th, 2018, while the package hasn't been touched since 2016 ? What changed that makes those errors visible now ?

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 sunxi-cedarx: needs -fPIC

Dear Thomas,

Le sam. 12 janv. 2019 ? 14:55, Thomas Petazzoni
<[email protected]> a ?crit :

Quoted 4 lines

Hello,

On Sat, 12 Jan 2019 10:24:59 +0100, Fabrice Fontaine wrote:

Quoted 8 lines
Quoted 4 lines

Fixes:
- http://autobuild.buildroot.org/results/c17062e1558f26c2db837883a0c33ef39dd031a2

Could you explain why we are seeing such build errors since December 5th, 2018, while the package hasn't been touched since 2016 ? What changed that makes those errors visible now ?

Yes, the issue is raised only when BR2_OPTIMIZE_2 is set and autobuilders test -O2 only since December 3rd:
https://git.buildroot.net/buildroot/commit/?id=aa556e2035c023d4328185a46e15df532e566067.

Quoted 8 lines

Thanks,

Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Best Regards,

Fabrice