[ptxdist] [PATCH v2] openssh: update 7.3p1 -> 7.5p1
Update to 7.5p1 and refresh default sshd_config. Signed-off-by: Clemens Gruber--- Changes from v1: - Use sshd user for privsep instead of nobody (Otherwise it runs as root!) projectroot/etc/ssh/sshd_config | 19 ++- rules/openssh.make | 17 - 2 files changed, 14 insertions(+), 22 deletions(-) diff --git a/projectroot/etc/ssh/sshd_config b/projectroot/etc/ssh/sshd_config index f53cb3d8f..7da4b2f26 100644 --- a/projectroot/etc/ssh/sshd_config +++ b/projectroot/etc/ssh/sshd_config @@ -1,4 +1,4 @@ -# $OpenBSD: sshd_config,v 1.97 2015/08/06 14:53:21 deraadt Exp $ +# $OpenBSD: sshd_config,v 1.101 2017/03/14 07:19:07 djm Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for more information. @@ -15,26 +15,15 @@ #ListenAddress 0.0.0.0 #ListenAddress :: -# The default requires explicit activation of protocol 1 -#Protocol 2 - -# HostKey for protocol version 1 -#HostKey /etc/ssh/ssh_host_key -# HostKeys for protocol version 2 HostKey /etc/ssh/ssh_host_rsa_key #HostKey /etc/ssh/ssh_host_dsa_key #HostKey /etc/ssh/ssh_host_ecdsa_key HostKey /etc/ssh/ssh_host_ed25519_key -# Lifetime and size of ephemeral version 1 server key -#KeyRegenerationInterval 1h -#ServerKeyBits 1024 - # Ciphers and keying #RekeyLimit default none # Logging -# obsoletes QuietMode and FascistLogging #SyslogFacility AUTH #LogLevel INFO @@ -46,7 +35,6 @@ PermitRootLogin yes #MaxAuthTries 6 #MaxSessions 10 -#RSAAuthentication yes #PubkeyAuthentication yes # The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2 @@ -59,11 +47,9 @@ AuthorizedKeysFile .ssh/authorized_keys #AuthorizedKeysCommandUser nobody # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts -#RhostsRSAAuthentication no -# similar for protocol version 2 #HostbasedAuthentication no # Change to yes if you don't trust ~/.ssh/known_hosts for -# RhostsRSAAuthentication and HostbasedAuthentication +# HostbasedAuthentication #IgnoreUserKnownHosts no # Don't read the user's ~/.rhosts and ~/.shosts files #IgnoreRhosts yes @@ -107,7 +93,6 @@ AuthorizedKeysFile .ssh/authorized_keys #PrintLastLog yes #TCPKeepAlive yes #UseLogin no -UsePrivilegeSeparation sandbox # Default for new installations. #PermitUserEnvironment no #Compression delayed #ClientAliveInterval 0 diff --git a/rules/openssh.make b/rules/openssh.make index 198916366..ae2338b5a 100644 --- a/rules/openssh.make +++ b/rules/openssh.make @@ -17,13 +17,14 @@ PACKAGES-$(PTXCONF_OPENSSH) += openssh # # Paths and names # -OPENSSH_VERSION:= 7.3p1 -OPENSSH_MD5:= dfadd9f035d38ce5d58a3bf130b86d08 +OPENSSH_VERSION:= 7.5p1 +OPENSSH_MD5:= 652fdc7d8392f112bef11cacf7e69e23 OPENSSH:= openssh-$(OPENSSH_VERSION) OPENSSH_SUFFIX := tar.gz OPENSSH_URL:= \ - http://openbsd.cs.fau.de/pub/OpenBSD/OpenSSH/portable/$(OPENSSH).$(OPENSSH_SUFFIX) \ - http://ftp.halifax.rwth-aachen.de/openbsd/OpenSSH/portable/$(OPENSSH).$(OPENSSH_SUFFIX) + https://ftp.halifax.rwth-aachen.de/openbsd/OpenSSH/portable/$(OPENSSH).$(OPENSSH_SUFFIX) \ + https://mirror.hs-esslingen.de/pub/OpenBSD/OpenSSH/portable/$(OPENSSH).$(OPENSSH_SUFFIX) + OPENSSH_SOURCE := $(SRCDIR)/$(OPENSSH).$(OPENSSH_SUFFIX) OPENSSH_DIR:= $(BUILDDIR)/$(OPENSSH) OPENSSH_LICENSE:= BSD, 2-term BSD, 3-term BSD, MIT, THE BEER-WARE LICENSE @@ -46,6 +47,7 @@ OPENSSH_CONF_OPT := \ --libexecdir=/usr/sbin \ --sysconfdir=/etc/ssh \ $(GLOBAL_LARGE_FILE_OPTION) \ + --disable-pkcs11 \ --disable-strip \ --disable-etc-default-login \ --disable-lastlog \ @@ -57,9 +59,11 @@ OPENSSH_CONF_OPT := \ --disable-pututline \ --disable-pututxline \ --with-openssl \ + --without-ssh1 \ --with-stackprotect \ --with-hardening \ --without-rpath \ + --without-Werror \ --with-zlib=$(SYSROOT) \ --without-skey \ --without-ldns \ @@ -68,8 +72,11 @@ OPENSSH_CONF_OPT := \ --with-pie \ --without-ssl-engine \ --without-pam \ + --with-privsep-user=sshd \ + --with-sandbox=seccomp_filter \ --$(call ptx/wwo, PTXCONF_GLOBAL_SELINUX)-selinux \ - --with-privsep-path=/var/run/sshd + --with-privsep-path=/var/run/sshd \ + --without-md5-passwords # # Target-Install -- 2.12.1 ___ ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH 5/8] mosh: version bump 1.2.6 -> 1.3.0
Signed-off-by: Clemens Gruber--- rules/mosh.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/mosh.make b/rules/mosh.make index 3270f2722..6c29222f7 100644 --- a/rules/mosh.make +++ b/rules/mosh.make @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_MOSH) += mosh # # Paths and names # -MOSH_VERSION := 1.2.6 -MOSH_MD5 := bb4e24795bb135a754558176a981ee9e +MOSH_VERSION := 1.3.0 +MOSH_MD5 := d961276995936953bf2d5a794068b076 MOSH := mosh-$(MOSH_VERSION) MOSH_SUFFIX:= tar.gz MOSH_URL := https://mosh.mit.edu/$(MOSH).$(MOSH_SUFFIX) -- 2.12.1 ___ ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH 3/8] iproute2: version bump 4.9.0 -> 4.10.0
Signed-off-by: Clemens Gruber--- rules/iproute2.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/iproute2.make b/rules/iproute2.make index 946247c3d..020dd4491 100644 --- a/rules/iproute2.make +++ b/rules/iproute2.make @@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_IPROUTE2) += iproute2 # # Paths and names # -IPROUTE2_VERSION := 4.9.0 -IPROUTE2_MD5 := 44a8371a4b2c40e48e4c9f98cbd41391 +IPROUTE2_VERSION := 4.10.0 +IPROUTE2_MD5 := b94a2b0edefaeac124dc8f5d006931b9 IPROUTE2 := iproute2-$(IPROUTE2_VERSION) IPROUTE2_SUFFIX:= tar.xz IPROUTE2_URL := $(call ptx/mirror, KERNEL, utils/net/iproute2/$(IPROUTE2).$(IPROUTE2_SUFFIX)) -- 2.12.1 ___ ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH 6/8] openssh: update 7.3p1 -> 7.5p1
Update to 7.5p1 and refresh default sshd_config. Signed-off-by: Clemens Gruber--- projectroot/etc/ssh/sshd_config | 19 ++- rules/openssh.make | 17 - 2 files changed, 14 insertions(+), 22 deletions(-) diff --git a/projectroot/etc/ssh/sshd_config b/projectroot/etc/ssh/sshd_config index f53cb3d8f..7da4b2f26 100644 --- a/projectroot/etc/ssh/sshd_config +++ b/projectroot/etc/ssh/sshd_config @@ -1,4 +1,4 @@ -# $OpenBSD: sshd_config,v 1.97 2015/08/06 14:53:21 deraadt Exp $ +# $OpenBSD: sshd_config,v 1.101 2017/03/14 07:19:07 djm Exp $ # This is the sshd server system-wide configuration file. See # sshd_config(5) for more information. @@ -15,26 +15,15 @@ #ListenAddress 0.0.0.0 #ListenAddress :: -# The default requires explicit activation of protocol 1 -#Protocol 2 - -# HostKey for protocol version 1 -#HostKey /etc/ssh/ssh_host_key -# HostKeys for protocol version 2 HostKey /etc/ssh/ssh_host_rsa_key #HostKey /etc/ssh/ssh_host_dsa_key #HostKey /etc/ssh/ssh_host_ecdsa_key HostKey /etc/ssh/ssh_host_ed25519_key -# Lifetime and size of ephemeral version 1 server key -#KeyRegenerationInterval 1h -#ServerKeyBits 1024 - # Ciphers and keying #RekeyLimit default none # Logging -# obsoletes QuietMode and FascistLogging #SyslogFacility AUTH #LogLevel INFO @@ -46,7 +35,6 @@ PermitRootLogin yes #MaxAuthTries 6 #MaxSessions 10 -#RSAAuthentication yes #PubkeyAuthentication yes # The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2 @@ -59,11 +47,9 @@ AuthorizedKeysFile .ssh/authorized_keys #AuthorizedKeysCommandUser nobody # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts -#RhostsRSAAuthentication no -# similar for protocol version 2 #HostbasedAuthentication no # Change to yes if you don't trust ~/.ssh/known_hosts for -# RhostsRSAAuthentication and HostbasedAuthentication +# HostbasedAuthentication #IgnoreUserKnownHosts no # Don't read the user's ~/.rhosts and ~/.shosts files #IgnoreRhosts yes @@ -107,7 +93,6 @@ AuthorizedKeysFile .ssh/authorized_keys #PrintLastLog yes #TCPKeepAlive yes #UseLogin no -UsePrivilegeSeparation sandbox # Default for new installations. #PermitUserEnvironment no #Compression delayed #ClientAliveInterval 0 diff --git a/rules/openssh.make b/rules/openssh.make index 198916366..b4b4d0b14 100644 --- a/rules/openssh.make +++ b/rules/openssh.make @@ -17,13 +17,14 @@ PACKAGES-$(PTXCONF_OPENSSH) += openssh # # Paths and names # -OPENSSH_VERSION:= 7.3p1 -OPENSSH_MD5:= dfadd9f035d38ce5d58a3bf130b86d08 +OPENSSH_VERSION:= 7.5p1 +OPENSSH_MD5:= 652fdc7d8392f112bef11cacf7e69e23 OPENSSH:= openssh-$(OPENSSH_VERSION) OPENSSH_SUFFIX := tar.gz OPENSSH_URL:= \ - http://openbsd.cs.fau.de/pub/OpenBSD/OpenSSH/portable/$(OPENSSH).$(OPENSSH_SUFFIX) \ - http://ftp.halifax.rwth-aachen.de/openbsd/OpenSSH/portable/$(OPENSSH).$(OPENSSH_SUFFIX) + https://ftp.halifax.rwth-aachen.de/openbsd/OpenSSH/portable/$(OPENSSH).$(OPENSSH_SUFFIX) \ + https://mirror.hs-esslingen.de/pub/OpenBSD/OpenSSH/portable/$(OPENSSH).$(OPENSSH_SUFFIX) + OPENSSH_SOURCE := $(SRCDIR)/$(OPENSSH).$(OPENSSH_SUFFIX) OPENSSH_DIR:= $(BUILDDIR)/$(OPENSSH) OPENSSH_LICENSE:= BSD, 2-term BSD, 3-term BSD, MIT, THE BEER-WARE LICENSE @@ -46,6 +47,7 @@ OPENSSH_CONF_OPT := \ --libexecdir=/usr/sbin \ --sysconfdir=/etc/ssh \ $(GLOBAL_LARGE_FILE_OPTION) \ + --disable-pkcs11 \ --disable-strip \ --disable-etc-default-login \ --disable-lastlog \ @@ -57,9 +59,11 @@ OPENSSH_CONF_OPT := \ --disable-pututline \ --disable-pututxline \ --with-openssl \ + --without-ssh1 \ --with-stackprotect \ --with-hardening \ --without-rpath \ + --without-Werror \ --with-zlib=$(SYSROOT) \ --without-skey \ --without-ldns \ @@ -68,8 +72,11 @@ OPENSSH_CONF_OPT := \ --with-pie \ --without-ssl-engine \ --without-pam \ + --with-privsep-user=nobody \ + --with-sandbox=seccomp_filter \ --$(call ptx/wwo, PTXCONF_GLOBAL_SELINUX)-selinux \ - --with-privsep-path=/var/run/sshd + --with-privsep-path=/var/run/sshd \ + --without-md5-passwords # # Target-Install -- 2.12.1 ___ ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH 4/8] libgpg-error: version bump 1.24 -> 1.26
Signed-off-by: Clemens Gruber--- rules/libgpg-error.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/libgpg-error.make b/rules/libgpg-error.make index 370939141..362f7bc6a 100644 --- a/rules/libgpg-error.make +++ b/rules/libgpg-error.make @@ -17,8 +17,8 @@ PACKAGES-$(PTXCONF_LIBGPG_ERROR) += libgpg-error # # Paths and names # -LIBGPG_ERROR_VERSION := 1.24 -LIBGPG_ERROR_MD5 := feb42198c0aaf3b28eabe8f41a34b983 +LIBGPG_ERROR_VERSION := 1.26 +LIBGPG_ERROR_MD5 := 97456709dbbcbb69354317ffe3e347cd LIBGPG_ERROR := libgpg-error-$(LIBGPG_ERROR_VERSION) LIBGPG_ERROR_SUFFIX:= tar.bz2 LIBGPG_ERROR_URL := \ -- 2.12.1 ___ ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH 1/8] file: version bump 5.29 -> 5.30
Signed-off-by: Clemens Gruber--- rules/file.make | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/file.make b/rules/file.make index c3aaae554..027486ba1 100644 --- a/rules/file.make +++ b/rules/file.make @@ -16,8 +16,8 @@ PACKAGES-$(PTXCONF_FILE) += file # # Paths and names # -FILE_VERSION := 5.29 -FILE_MD5 := b7b57b36b577c9cede2f2d1342203302 +FILE_VERSION := 5.30 +FILE_MD5 := f35eaf05489ae566eafc4d26bb1dcd90 FILE := file-$(FILE_VERSION) FILE_SUFFIX:= tar.gz FILE_URL := ftp://ftp.astron.com/pub/file/$(FILE).$(FILE_SUFFIX) -- 2.12.1 ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Failure in using OSELAS 2016.06.1 toolchain with PTXdist 2017.03.0
Hi, On Tue, Mar 28, 2017 at 09:34:38AM +0200, Juergen Borleis wrote: > Hi Ojas, > > On Tuesday 28 March 2017 01:17:30 Ojas Kulkarni wrote: > > I am trying to build 2016.06.1 toolchain with PTXdist 2017.03.0 version. > > I am getting error in glib package while building toolchain shown below, > > My questions are, > > > > 1) Is any compatibility issues observed with specified versions? > > > > 2) Which version of OSELAS toolchain is best suitable to use with > >PTXdist 2017.03.0 version? > > The OSELAS-Toolchain-2016.06.1 is intended to be built with PTXdist-2016.06. > After building, you can use this toolchain with whatever PTXdist version in > your projects. All PTXdist versions can co-exist on your host and do not > interfere. I can also reproduce this with my toolchains - based on OSELAS.Toolchain but with newer GCC, glibc, etc. - if I build them with ptxdist 2017.03.0. With ptxdist 2017.01.0, they build fine though and I think I found the culprit in 2017.03.0: https://git.pengutronix.de/cgit/ptxdist/commit/?id=8cd525b95616ee8e2e9f982c04a1fcb0c745c521 If I add the ptxd_make_world_patchin.sh script from before this commit to my toolchain project, ptxdist 2017.03.0 successfully builds the toolchain. Regards, Clemens ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Errors building pkg-config: Multiple definitions
Hi Michael, 2017-03-28 9:52 GMT+02:00 Michael Olbrich: > On Mon, Mar 27, 2017 at 07:35:22PM +0200, Guillermo Rodriguez Garcia wrote: >> Hello all, >> >> Trying to rebuild the OSELAS Mini2440 BSP. Again this had been built >> previously on Ubuntu 10 and 12, now trying to rebuild on a new >> machine. >> >> ptxdist-2013.09.0 >> BSP release 2013.10.0 >> Host: Ubuntu 16.04.2 >> >> When building the host-pkg-config package I get a ton of errors about >> multiple definitions in the internal copy of glib. Here's a short >> fragment: > [...] > > That's a bug in pkg-config, I think. Use a newer PTXdist version or copy > rules/host-pkg-config.make from the current version into your BSP. I have worked around this by using gcc-4.x instead of gcc-5. With gcc-4.9 the problem is gone. Best, Guillermo Rodriguez Garcia guille.rodrig...@gmail.com ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Build OSELAS toolchain fails saying that make is "too old"
Hello, 2017-03-28 9:58 GMT+02:00 Michael Olbrich: > On Mon, Mar 27, 2017 at 06:43:21PM +0200, Guillermo Rodriguez Garcia wrote: >> Hello, >> >> I am rebuilding OSELAS.Toolchain-2012.12.1 on a new machine (Ubuntu >> 16.04). This is for an existing target platform; previous versions of >> the toolchain were built on Ubuntu 10 and Ubuntu 12 hosts. >> >> Now when I try to build the toolchain, the glibc-headers package fails >> to build with this error: >> >> *** These critical programs are missing or too old: make >> >> I guess my make is actually too new (4.1) rather than too old. Any >> ideas how to fix this? > > The check is broken and does not accept make 4.x. Please use > OSELAS.Toolchain-2012.12.2. It has a fix for this and several CVEs. Thank you for your answer, however I would like to avoid switching to a different toolchain. After all the whole point of ptxdist was to have reproducible builds... I'll see if I can backport the fixes. Guillermo Rodriguez Garcia guille.rodrig...@gmail.com ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Build OSELAS toolchain fails saying that make is "too old"
On Mon, Mar 27, 2017 at 06:43:21PM +0200, Guillermo Rodriguez Garcia wrote: > Hello, > > I am rebuilding OSELAS.Toolchain-2012.12.1 on a new machine (Ubuntu > 16.04). This is for an existing target platform; previous versions of > the toolchain were built on Ubuntu 10 and Ubuntu 12 hosts. > > Now when I try to build the toolchain, the glibc-headers package fails > to build with this error: > > *** These critical programs are missing or too old: make > > I guess my make is actually too new (4.1) rather than too old. Any > ideas how to fix this? The check is broken and does not accept make 4.x. Please use OSELAS.Toolchain-2012.12.2. It has a fix for this and several CVEs. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Errors building pkg-config: Multiple definitions
On Mon, Mar 27, 2017 at 07:35:22PM +0200, Guillermo Rodriguez Garcia wrote: > Hello all, > > Trying to rebuild the OSELAS Mini2440 BSP. Again this had been built > previously on Ubuntu 10 and 12, now trying to rebuild on a new > machine. > > ptxdist-2013.09.0 > BSP release 2013.10.0 > Host: Ubuntu 16.04.2 > > When building the host-pkg-config package I get a ton of errors about > multiple definitions in the internal copy of glib. Here's a short > fragment: [...] That's a bug in pkg-config, I think. Use a newer PTXdist version or copy rules/host-pkg-config.make from the current version into your BSP. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0| Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917- | ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Failure in using OSELAS 2016.06.1 toolchain with PTXdist 2017.03.0
Hi Ojas, On Tuesday 28 March 2017 01:17:30 Ojas Kulkarni wrote: > I am trying to build 2016.06.1 toolchain with PTXdist 2017.03.0 version. > I am getting error in glib package while building toolchain shown below, > My questions are, > > 1) Is any compatibility issues observed with specified versions? > > 2) Which version of OSELAS toolchain is best suitable to use with >PTXdist 2017.03.0 version? The OSELAS-Toolchain-2016.06.1 is intended to be built with PTXdist-2016.06. After building, you can use this toolchain with whatever PTXdist version in your projects. All PTXdist versions can co-exist on your host and do not interfere. Cheers, Juergen -- Pengutronix e.K. | Juergen Borleis | Industrial Linux Solutions | http://www.pengutronix.de/ | ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] Errors building pkg-config: Multiple definitions
Hello, A follow up on this: 2017-03-27 19:35 GMT+02:00 Guillermo Rodriguez Garcia: > Hello all, > > Trying to rebuild the OSELAS Mini2440 BSP. Again this had been built > previously on Ubuntu 10 and 12, now trying to rebuild on a new > machine. > > ptxdist-2013.09.0 > BSP release 2013.10.0 > Host: Ubuntu 16.04.2 > > When building the host-pkg-config package I get a ton of errors about > multiple definitions in the internal copy of glib. Here's a short > fragment: > > [...] > ./.libs/libglib.a(gtree.o): In function `g_bit_storage': > /home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/platform-mini2440/build-host/pkg-config-0.25/glib-1.2.10/glib.h:1616: > multiple definition of `g_bit_storage' > testglib.o:/home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/platform-mini2440/build-host/pkg-config-0.25/glib-1.2.10/glib.h:1616: > first defined here > ./.libs/libglib.a(gutils.o): In function `g_bit_nth_lsf': > /home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/platform-mini2440/build-host/pkg-config-0.25/glib-1.2.10/glib.h:1579: > multiple definition of `g_bit_nth_lsf' > testglib.o:/home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/platform-mini2440/build-host/pkg-config-0.25/glib-1.2.10/glib.h:1579: > first defined here > ./.libs/libglib.a(gutils.o): In function `g_bit_nth_msf': > /home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/platform-mini2440/build-host/pkg-config-0.25/glib-1.2.10/glib.h:1597: > multiple definition of `g_bit_nth_msf' > testglib.o:/home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/platform-mini2440/build-host/pkg-config-0.25/glib-1.2.10/glib.h:1597: > first defined here > ./.libs/libglib.a(gutils.o): In function `g_bit_storage': > /home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/platform-mini2440/build-host/pkg-config-0.25/glib-1.2.10/glib.h:1616: > multiple definition of `g_bit_storage' > testglib.o:/home/grodriguez/work/ptxdist/OSELAS.BSP-Pengutronix-Mini2440-2013.10.0/platform-mini2440/build-host/pkg-config-0.25/glib-1.2.10/glib.h:1616: > first defined here > collect2: error: ld returned 1 exit status The problem here is gcc 5 and the fact that "inline" has different semantics in C99. The easiest fix here is to use gcc-4.x instead. I can confirm that the problem is not present when building with gcc-4.9. Guillermo Rodriguez Garcia guille.rodrig...@gmail.com ___ ptxdist mailing list ptxdist@pengutronix.de