Skip to contentSkip to conversation

dhcpcd: blacklist Sourcery PowerPC toolchains

PATCH New Baruch Siach 2 participants 2 messages Dec 30, 2014 – Dec 31, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dhcpcd: blacklist Sourcery PowerPC toolchains

The linux/socket.h header in these toolchains is broken as described in commit f5866484ffe (libnftnl: exclude for CS PPC toolchains).

Fixes:
http://autobuild.buildroot.net/results/d92/d92e7f2af0e64bc40f7b5c9ea081471de98bf8e8/
http://autobuild.buildroot.net/results/e97/e97e980a2f1e0ff4138a6dc03d86ad3ff0973e4a/
http://autobuild.buildroot.net/results/ca3/ca32c4de8b645c96cedb80b6270a792e9601ad84/

and some more.

---
 package/dhcpcd/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/dhcpcd/Config.in +2 -0
index ca0ad751ffcb..f2ca0998f8d1 100644
@@ -2,6 +2,8 @@ config BR2_PACKAGE_DHCPCD
 	bool "dhcpcd"
 	# No support for AI_ADDRCONFIG
 	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
+	# bad headers, no sa_family_t in linux/socket.h
+	depends on !(BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201103 || BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009)
 	help
 	  An RFC2131 compliant DHCP client
 
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 dhcpcd: blacklist Sourcery PowerPC toolchains

Dear Baruch Siach,

Quoted 11 lines · Baruch Siach

The linux/socket.h header in these toolchains is broken as described in commit f5866484ffe (libnftnl: exclude for CS PPC toolchains).

Fixes:
http://autobuild.buildroot.net/results/d92/d92e7f2af0e64bc40f7b5c9ea081471de98bf8e8/
http://autobuild.buildroot.net/results/e97/e97e980a2f1e0ff4138a6dc03d86ad3ff0973e4a/
http://autobuild.buildroot.net/results/ca3/ca32c4de8b645c96cedb80b6270a792e9601ad84/

and some more.

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com