Wind River Support Network

HomeDefectsLIN6-13908
Fixed

LIN6-13908 : bridge-utils Issue

Created: Oct 18, 2017    Updated: Dec 9, 2019
Resolved Date: Nov 27, 2017
Found In Version: 6.0
Fix Version: 6.0.0.36
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: unknown

Description

Integrate a fix on the bridge-utils. The bridge-utils is a generic cross-compile issue and should be looked at by standard product. It is not picking up the target CFLAGS when compiling the lib-bridge portion of the code but the brctl portion is. 

The Makefile also uses the host “ar” tool when it should be using the ar from the target toolchain. Due to the target CFLAGS from bitbake not being used it won’t ever pick up the “pie” flags for ASLR that were added. The customer made a small patch to allow the Yocto CFLAGS to get picked up but he didn’t address the AR issue. 

Patch used is below. 

Index: bridge-utils-1.5/libbridge/Makefile.in 
=================================================================== 
--- bridge-utils-1.5.orig/libbridge/Makefile.in 
+++ bridge-utils-1.5/libbridge/Makefile.in 
@@ -5,7 +5,7 @@ AR=ar 
RANLIB=@RANLIB@ 

CC=@CC@ 
-CFLAGS = -Wall -g $(KERNEL_HEADERS) 
+CFLAGS += -Wall -g $(KERNEL_HEADERS) 

prefix=@prefix@ 
exec_prefix=@exec_prefix@

Other Downloads


Live chat
Online