mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2013.12.0 released
@ 2013-12-20 14:19 Michael Olbrich
  2013-12-22  9:54 ` Matthias Klein
  2014-01-13 22:23 ` Jon Ringle
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Olbrich @ 2013-12-20 14:19 UTC (permalink / raw)
  To: ptxdist

Hi,

I'm happy to announce that I've just released OSELAS.Toolchain-2013.12.0.

This is a major release with significant changes. All components of the
primary toolchains have been updated to the latest versions. The highlights
are:
 - gcc 4.8.2
 - glibc 2.18.0
 - binutils 2.24
 - kernel headers 3.12
 - gdb 7.6.1

We've also removed several older toolchains that have not seen any updates
in some time. Instead several new toolchains have been added:
 - arm-iwmmx-linux-gnueabi and i586-mingw32msvc are gone.
 - arm-cortexm4-eabihf new hardfloat toolchain for Cortex-M4
 - arm-cortexa9-linux-gnueabi* are replaced by arm-v7a-linux-gnueabi*
   The new toolchains are Optimized for Cortex-A9 but should run on any ARMv7
Also, all ARMv7 toolchains no generate Thumb2 Code by default.

Download the release here:
http://www.pengutronix.de/oselas/toolchain/download/

Enjoy,
Michael Olbrich

-- 
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-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2013.12.0 released
  2013-12-20 14:19 [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2013.12.0 released Michael Olbrich
@ 2013-12-22  9:54 ` Matthias Klein
  2013-12-22 15:53   ` Michael Olbrich
  2014-01-13 22:23 ` Jon Ringle
  1 sibling, 1 reply; 7+ messages in thread
From: Matthias Klein @ 2013-12-22  9:54 UTC (permalink / raw)
  To: ptxdist

[-- Attachment #1: Type: text/plain, Size: 2466 bytes --]

Hello Michael,

Thanks for the new release !


I had two small problems while upgrading to the latest versions:

- The toochain arm-cortexa8-linux-gnueabihf creates the directory 
gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized but gcc's 
version
     reports 4.8.3 and ptxdist complains about the version mismatch. As a 
workaround I created a symlink 
gcc-4.8.3-glibc-2.18-binutils-2.24-kernel-3.12-sanitized which made 
ptxdist happy.

- udev 182 does not build with glibc 2.18 of the new toolchain:

     src/udevd-sd-daemon.o: In function `sd_is_mq':
     .../build-target/udev-182/src/sd-daemon.c:394: undefined reference 
to `mq_getattr'
     I found a patch which worked for me: (the failing code is dead code, 
which can be commented out ...)

     https://github.com/gentoo/eudev/issues/41
     
https://github.com/gentoo/eudev/commit/3d6f228db94e8bfb81f3b163739250e9a578e819


The resulting code runs fine on our iMX.537.


Best regards,

Matthias


------ Originalnachricht ------
Von: "Michael Olbrich" <m.olbrich@pengutronix.de>
An: ptxdist@pengutronix.de
Gesendet: 20.12.2013 15:19:20
Betreff: [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2013.12.0 released
>Hi,
>
>I'm happy to announce that I've just released 
>OSELAS.Toolchain-2013.12.0.
>
>This is a major release with significant changes. All components of the
>primary toolchains have been updated to the latest versions. The 
>highlights
>are:
>  - gcc 4.8.2
>  - glibc 2.18.0
>  - binutils 2.24
>  - kernel headers 3.12
>  - gdb 7.6.1
>
>We've also removed several older toolchains that have not seen any 
>updates
>in some time. Instead several new toolchains have been added:
>  - arm-iwmmx-linux-gnueabi and i586-mingw32msvc are gone.
>  - arm-cortexm4-eabihf new hardfloat toolchain for Cortex-M4
>  - arm-cortexa9-linux-gnueabi* are replaced by arm-v7a-linux-gnueabi*
>    The new toolchains are Optimized for Cortex-A9 but should run on any 
>ARMv7
>Also, all ARMv7 toolchains no generate Thumb2 Code by default.
>
>Download the release here:
>http://www.pengutronix.de/oselas/toolchain/download/
>
>Enjoy,
>Michael Olbrich
>
>--
>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-5555 |
>
>--
>ptxdist mailing list
>ptxdist@pengutronix.de
>

[-- Attachment #2: 0001-fix-glibc-2.18-compilation-error.patch --]
[-- Type: application/octet-stream, Size: 3099 bytes --]

From: Matthias Klein <matthias.klein@optimeas.de>
Date: Sun, 22 Dec 2013 10:40:08 +0100
Subject: [PATCH] fix glibc 2.18 compilation error

---
 src/sd-daemon.c |   72 +++++++++++++++++++++++++++----------------------------
 src/sd-daemon.h |    2 +-
 2 files changed, 37 insertions(+), 37 deletions(-)

diff --git a/src/sd-daemon.c b/src/sd-daemon.c
index 763e079..6ce892d 100644
--- a/src/sd-daemon.c
+++ b/src/sd-daemon.c
@@ -382,42 +382,42 @@ _sd_export_ int sd_is_socket_unix(int fd, int type, int listening, const char *p
         return 1;
 }
 
-_sd_export_ int sd_is_mq(int fd, const char *path) {
-#if !defined(__linux__)
-        return 0;
-#else
-        struct mq_attr attr;
-
-        if (fd < 0)
-                return -EINVAL;
-
-        if (mq_getattr(fd, &attr) < 0)
-                return -errno;
-
-        if (path) {
-                char fpath[PATH_MAX];
-                struct stat a, b;
-
-                if (path[0] != '/')
-                        return -EINVAL;
-
-                if (fstat(fd, &a) < 0)
-                        return -errno;
-
-                strncpy(stpcpy(fpath, "/dev/mqueue"), path, sizeof(fpath) - 12);
-                fpath[sizeof(fpath)-1] = 0;
-
-                if (stat(fpath, &b) < 0)
-                        return -errno;
-
-                if (a.st_dev != b.st_dev ||
-                    a.st_ino != b.st_ino)
-                        return 0;
-        }
-
-        return 1;
-#endif
-}
+//_sd_export_ int sd_is_mq(int fd, const char *path) {
+//#if !defined(__linux__)
+//        return 0;
+//#else
+//        struct mq_attr attr;
+//
+//        if (fd < 0)
+//                return -EINVAL;
+//
+//        if (mq_getattr(fd, &attr) < 0)
+//                return -errno;
+//
+//        if (path) {
+//                char fpath[PATH_MAX];
+//                struct stat a, b;
+//
+//                if (path[0] != '/')
+//                        return -EINVAL;
+//
+//                if (fstat(fd, &a) < 0)
+//                        return -errno;
+//
+//                strncpy(stpcpy(fpath, "/dev/mqueue"), path, sizeof(fpath) - 12);
+//                fpath[sizeof(fpath)-1] = 0;
+//
+//                if (stat(fpath, &b) < 0)
+//                        return -errno;
+//
+//                if (a.st_dev != b.st_dev ||
+//                    a.st_ino != b.st_ino)
+//                        return 0;
+//        }
+//
+//        return 1;
+//#endif
+//}
 
 _sd_export_ int sd_notify(int unset_environment, const char *state) {
 #if defined(DISABLE_SYSTEMD) || !defined(__linux__) || !defined(SOCK_CLOEXEC)
diff --git a/src/sd-daemon.h b/src/sd-daemon.h
index fe51159..5b86f12 100644
--- a/src/sd-daemon.h
+++ b/src/sd-daemon.h
@@ -187,7 +187,7 @@ int sd_is_socket_unix(int fd, int type, int listening, const char *path, size_t
   0 otherwise. If path is NULL a message queue name check is not
   done. Returns a negative errno style error code on failure.
 */
-int sd_is_mq(int fd, const char *path);
+//int sd_is_mq(int fd, const char *path);
 
 /*
   Informs systemd about changed daemon state. This takes a number of

[-- Attachment #3: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2013.12.0 released
  2013-12-22  9:54 ` Matthias Klein
@ 2013-12-22 15:53   ` Michael Olbrich
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Olbrich @ 2013-12-22 15:53 UTC (permalink / raw)
  To: ptxdist

Hi,

On Sun, Dec 22, 2013 at 09:54:38AM +0000, Matthias Klein wrote:
> Thanks for the new release !
> 
> I had two small problems while upgrading to the latest versions:
> 
> - The toochain arm-cortexa8-linux-gnueabihf creates the directory
> gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized but gcc's
> version
>     reports 4.8.3 and ptxdist complains about the version mismatch.
> As a workaround I created a symlink
> gcc-4.8.3-glibc-2.18-binutils-2.24-kernel-3.12-sanitized which made
> ptxdist happy.

I know :-/. I noticed that too yesterday after I installed the final
release... This is fixed in the master branch and will be part of a
bugfix release.

> - udev 182 does not build with glibc 2.18 of the new toolchain:
> 
>     src/udevd-sd-daemon.o: In function `sd_is_mq':
>     .../build-target/udev-182/src/sd-daemon.c:394: undefined
> reference to `mq_getattr'
>     I found a patch which worked for me: (the failing code is dead
> code, which can be commented out ...)
> 
>     https://github.com/gentoo/eudev/issues/41
> https://github.com/gentoo/eudev/commit/3d6f228db94e8bfb81f3b163739250e9a578e819

Yes, I've seen that one too. Unfortunately my build tests didn't include
udev-182 before I released ptxdist-2013.12.0. The proper fix is to link to
librt. I think we have a patch for that floating around somewhere, but it
hasn't reached ptxdist git yet.

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-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2013.12.0 released
  2013-12-20 14:19 [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2013.12.0 released Michael Olbrich
  2013-12-22  9:54 ` Matthias Klein
@ 2014-01-13 22:23 ` Jon Ringle
  2014-01-13 23:34   ` Jon Ringle
  1 sibling, 1 reply; 7+ messages in thread
From: Jon Ringle @ 2014-01-13 22:23 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 8171 bytes --]

I built arm-v5te-linux-gnueabi hosted on i386 successfully and used it for
a while.
Now I need to build the same toolchain hosted x86_64, but I'm running into
a problem. I get the following error. Any ideas?

-------------------------------
target: cross-gcc-first.prepare
-------------------------------

mkdir -p
/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/build-cross/gcc-4.8.2-first-build
cd
/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/build-cross/gcc-4.8.2-first-build
&& \
                 PKG_CONFIG_PATH=''
PKG_CONFIG_LIBDIR='/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host/lib/pkgconfig:/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host/share/pkgconfig'
PYTHONPATH="/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host/lib/python2.6/site-packages"
MAKEINFO=: \

/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/build-cross/gcc-4.8.2/configure
--build=x86_64-host-linux-gnu --host=x86_64-host-linux-gnu
--target=arm-v5te-linux-gnueabi
--with-sysroot=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/inst/opt/OSELAS.Toolchain-2013.12.0/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-arm-v5te-linux-gnueabi
--disable-multilib --with-float=soft --with-fpu=vfp --with-cpu=arm926ej-s
--with-arch=armv5te  --enable-__cxa_atexit --disable-sjlj-exceptions
--disable-nls --disable-decimal-float --disable-fixed-point
--disable-win32-registry --enable-symvers=gnu
--with-pkgversion=""OSELAS.Toolchain-2013.12.0"" --enable-threads="posix"
--with-system-zlib
--with-gmp=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host
--with-mpfr=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host
--with-isl=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host
--with-cloog=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host
--prefix=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/inst/opt/OSELAS.Toolchain-2013.12.0/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/gcc-first
--disable-shared --enable-languages=c
--with-ld=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/inst/opt/OSELAS.Toolchain-2013.12.0/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/arm-v5te-linux-gnueabi-ld
--with-as=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/inst/opt/OSELAS.Toolchain-2013.12.0/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/arm-v5te-linux-gnueabi-as
--disable-checking --disable-libmudflap --disable-libssp --disable-libgomp
--disable-libquadmath --disable-libatomic --with-system-zlib
checking build system type... x86_64-host-linux-gnu
checking host system type... x86_64-host-linux-gnu
checking target system type... arm-v5te-linux-gnueabi
checking for a BSD-compatible install...
/usr/local/lib/ptxdist-2013.12.0/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output...
/usr/local/lib/ptxdist-2013.12.0/bin/sed
checking for gawk... gawk
checking for libitm support... yes
checking for libsanitizer support... no
checking for x86_64-host-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for x86_64-host-linux-gnu-g++... no
checking for x86_64-host-linux-gnu-c++... no
checking for x86_64-host-linux-gnu-gpp... no
checking for x86_64-host-linux-gnu-aCC... no
checking for x86_64-host-linux-gnu-CC... no
checking for x86_64-host-linux-gnu-cxx... no
checking for x86_64-host-linux-gnu-cc++... no
checking for x86_64-host-linux-gnu-cl.exe... no
checking for x86_64-host-linux-gnu-FCC... no
checking for x86_64-host-linux-gnu-KCC... no
checking for x86_64-host-linux-gnu-RCC... no
checking for x86_64-host-linux-gnu-xlC_r... no
checking for x86_64-host-linux-gnu-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... no
checking for x86_64-host-linux-gnu-gnatbind... no
checking for gnatbind... no
checking for x86_64-host-linux-gnu-gnatmake... no
checking for gnatmake... no
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16
$$f1 $$f2
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC
0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations.  Source code for these libraries can be found at
their respective hosting sites as well as at
ftp://gcc.gnu.org/pub/gcc/infrastructure/.  See also
http://gcc.gnu.org/install/prerequisites.html for additional info.  If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files.  They may be located in separate packages.
make: ***
[/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/state/cross-gcc-first.prepare]
Error 1
make: ***
[gstate/arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized.build]
Error 2



On Fri, Dec 20, 2013 at 9:19 AM, Michael Olbrich
<m.olbrich@pengutronix.de>wrote:

> Hi,
>
> I'm happy to announce that I've just released OSELAS.Toolchain-2013.12.0.
>
> This is a major release with significant changes. All components of the
> primary toolchains have been updated to the latest versions. The highlights
> are:
>  - gcc 4.8.2
>  - glibc 2.18.0
>  - binutils 2.24
>  - kernel headers 3.12
>  - gdb 7.6.1
>
> We've also removed several older toolchains that have not seen any updates
> in some time. Instead several new toolchains have been added:
>  - arm-iwmmx-linux-gnueabi and i586-mingw32msvc are gone.
>  - arm-cortexm4-eabihf new hardfloat toolchain for Cortex-M4
>  - arm-cortexa9-linux-gnueabi* are replaced by arm-v7a-linux-gnueabi*
>    The new toolchains are Optimized for Cortex-A9 but should run on any
> ARMv7
> Also, all ARMv7 toolchains no generate Thumb2 Code by default.
>
> Download the release here:
> http://www.pengutronix.de/oselas/toolchain/download/
>
> Enjoy,
> Michael Olbrich
>
> --
> 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-5555 |
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de
>

[-- Attachment #1.2: Type: text/html, Size: 9277 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2013.12.0 released
  2014-01-13 22:23 ` Jon Ringle
@ 2014-01-13 23:34   ` Jon Ringle
  2014-01-20 12:03     ` [ptxdist] [PATCH] cross-gcc: explicitly specify path for mpc Michael Olbrich
  0 siblings, 1 reply; 7+ messages in thread
From: Jon Ringle @ 2014-01-13 23:34 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 8615 bytes --]

Never mind. I removed the distro provided libgmp-dev libmpfr-dev and
libmpc-dev. All is well now :)


On Mon, Jan 13, 2014 at 5:23 PM, Jon Ringle <jon@ringle.org> wrote:

> I built arm-v5te-linux-gnueabi hosted on i386 successfully and used it for
> a while.
> Now I need to build the same toolchain hosted x86_64, but I'm running into
> a problem. I get the following error. Any ideas?
>
> -------------------------------
> target: cross-gcc-first.prepare
> -------------------------------
>
> mkdir -p
> /home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/build-cross/gcc-4.8.2-first-build
> cd
> /home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/build-cross/gcc-4.8.2-first-build
> && \
>                  PKG_CONFIG_PATH=''
> PKG_CONFIG_LIBDIR='/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host/lib/pkgconfig:/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host/share/pkgconfig'
> PYTHONPATH="/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host/lib/python2.6/site-packages"
> MAKEINFO=: \
>
> /home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/build-cross/gcc-4.8.2/configure
> --build=x86_64-host-linux-gnu --host=x86_64-host-linux-gnu
> --target=arm-v5te-linux-gnueabi
> --with-sysroot=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/inst/opt/OSELAS.Toolchain-2013.12.0/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-arm-v5te-linux-gnueabi
> --disable-multilib --with-float=soft --with-fpu=vfp --with-cpu=arm926ej-s
> --with-arch=armv5te  --enable-__cxa_atexit --disable-sjlj-exceptions
> --disable-nls --disable-decimal-float --disable-fixed-point
> --disable-win32-registry --enable-symvers=gnu
> --with-pkgversion=""OSELAS.Toolchain-2013.12.0"" --enable-threads="posix"
> --with-system-zlib
> --with-gmp=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host
> --with-mpfr=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host
> --with-isl=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host
> --with-cloog=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/sysroot-host
> --prefix=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/inst/opt/OSELAS.Toolchain-2013.12.0/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/gcc-first
> --disable-shared --enable-languages=c
> --with-ld=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/inst/opt/OSELAS.Toolchain-2013.12.0/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/arm-v5te-linux-gnueabi-ld
> --with-as=/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/inst/opt/OSELAS.Toolchain-2013.12.0/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/bin/arm-v5te-linux-gnueabi-as
> --disable-checking --disable-libmudflap --disable-libssp --disable-libgomp
> --disable-libquadmath --disable-libatomic --with-system-zlib
> checking build system type... x86_64-host-linux-gnu
> checking host system type... x86_64-host-linux-gnu
> checking target system type... arm-v5te-linux-gnueabi
> checking for a BSD-compatible install...
> /usr/local/lib/ptxdist-2013.12.0/bin/install -c
> checking whether ln works... yes
> checking whether ln -s works... yes
> checking for a sed that does not truncate output...
> /usr/local/lib/ptxdist-2013.12.0/bin/sed
> checking for gawk... gawk
> checking for libitm support... yes
> checking for libsanitizer support... no
> checking for x86_64-host-linux-gnu-gcc... no
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for x86_64-host-linux-gnu-g++... no
> checking for x86_64-host-linux-gnu-c++... no
> checking for x86_64-host-linux-gnu-gpp... no
> checking for x86_64-host-linux-gnu-aCC... no
> checking for x86_64-host-linux-gnu-CC... no
> checking for x86_64-host-linux-gnu-cxx... no
> checking for x86_64-host-linux-gnu-cc++... no
> checking for x86_64-host-linux-gnu-cl.exe... no
> checking for x86_64-host-linux-gnu-FCC... no
> checking for x86_64-host-linux-gnu-KCC... no
> checking for x86_64-host-linux-gnu-RCC... no
> checking for x86_64-host-linux-gnu-xlC_r... no
> checking for x86_64-host-linux-gnu-xlC... no
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking whether g++ accepts -static-libstdc++ -static-libgcc... no
> checking for x86_64-host-linux-gnu-gnatbind... no
> checking for gnatbind... no
> checking for x86_64-host-linux-gnu-gnatmake... no
> checking for gnatmake... no
> checking whether compiler driver understands Ada... no
> checking how to compare bootstrapped objects... cmp --ignore-initial=16
> $$f1 $$f2
> checking for objdir... .libs
> checking for the correct version of gmp.h... yes
> checking for the correct version of mpfr.h... yes
> checking for the correct version of mpc.h... yes
> checking for the correct version of the gmp/mpfr/mpc libraries... no
> configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC
> 0.8.0+.
> Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
> their locations.  Source code for these libraries can be found at
> their respective hosting sites as well as at
> ftp://gcc.gnu.org/pub/gcc/infrastructure/.  See also
> http://gcc.gnu.org/install/prerequisites.html for additional info.  If
> you obtained GMP, MPFR and/or MPC from a vendor distribution package,
> make sure that you have installed both the libraries and the header
> files.  They may be located in separate packages.
> make: ***
> [/home/jringle/oselas/OSELAS.Toolchain-2013.12.0/platform-arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/state/cross-gcc-first.prepare]
> Error 1
> make: ***
> [gstate/arm-v5te-linux-gnueabi-gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized.build]
> Error 2
>
>
>
> On Fri, Dec 20, 2013 at 9:19 AM, Michael Olbrich <m.olbrich@pengutronix.de
> > wrote:
>
>> Hi,
>>
>> I'm happy to announce that I've just released OSELAS.Toolchain-2013.12.0.
>>
>> This is a major release with significant changes. All components of the
>> primary toolchains have been updated to the latest versions. The
>> highlights
>> are:
>>  - gcc 4.8.2
>>  - glibc 2.18.0
>>  - binutils 2.24
>>  - kernel headers 3.12
>>  - gdb 7.6.1
>>
>> We've also removed several older toolchains that have not seen any updates
>> in some time. Instead several new toolchains have been added:
>>  - arm-iwmmx-linux-gnueabi and i586-mingw32msvc are gone.
>>  - arm-cortexm4-eabihf new hardfloat toolchain for Cortex-M4
>>  - arm-cortexa9-linux-gnueabi* are replaced by arm-v7a-linux-gnueabi*
>>    The new toolchains are Optimized for Cortex-A9 but should run on any
>> ARMv7
>> Also, all ARMv7 toolchains no generate Thumb2 Code by default.
>>
>> Download the release here:
>> http://www.pengutronix.de/oselas/toolchain/download/
>>
>> Enjoy,
>> Michael Olbrich
>>
>> --
>> 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-5555|
>>
>> --
>> ptxdist mailing list
>> ptxdist@pengutronix.de
>>
>
>

[-- Attachment #1.2: Type: text/html, Size: 9895 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ptxdist] [PATCH] cross-gcc: explicitly specify path for mpc
  2014-01-13 23:34   ` Jon Ringle
@ 2014-01-20 12:03     ` Michael Olbrich
  2014-01-24  9:25       ` Michael Olbrich
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Olbrich @ 2014-01-20 12:03 UTC (permalink / raw)
  To: ptxdist; +Cc: Michael Olbrich

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---

Hi,

That should not be necessary. Can you please reinstall those packages and
try if this patch helps?

Michael

 rules/cross-gcc.make | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/rules/cross-gcc.make b/rules/cross-gcc.make
index 748899f..773902e 100644
--- a/rules/cross-gcc.make
+++ b/rules/cross-gcc.make
@@ -97,6 +97,10 @@ ifdef PTXCONF_HOST_MPFR
 CROSS_GCC_AUTOCONF_COMMON += --with-mpfr=$(PTXCONF_SYSROOT_HOST)
 endif
 
+ifdef PTXCONF_HOST_MPC
+CROSS_GCC_AUTOCONF_COMMON += --with-mpc=$(PTXCONF_SYSROOT_HOST)
+endif
+
 ifdef PTXCONF_HOST_CLOOG
 CROSS_GCC_AUTOCONF_COMMON += --with-isl=$(PTXCONF_SYSROOT_HOST) --with-cloog=$(PTXCONF_SYSROOT_HOST)
 endif
-- 
1.8.5.2


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ptxdist] [PATCH] cross-gcc: explicitly specify path for mpc
  2014-01-20 12:03     ` [ptxdist] [PATCH] cross-gcc: explicitly specify path for mpc Michael Olbrich
@ 2014-01-24  9:25       ` Michael Olbrich
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Olbrich @ 2014-01-24  9:25 UTC (permalink / raw)
  To: ptxdist

On Mon, Jan 20, 2014 at 01:03:14PM +0100, Michael Olbrich wrote:
> That should not be necessary. Can you please reinstall those packages and
> try if this patch helps?

Have you tried this? I'm working on a bugfix toolchain release and I'd like
to fix this issue for that.
If it doesn't help: Can you send me the
build-cross/gcc-4.8.2-first-build/config.log for the failure?

Michael

>  rules/cross-gcc.make | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/rules/cross-gcc.make b/rules/cross-gcc.make
> index 748899f..773902e 100644
> --- a/rules/cross-gcc.make
> +++ b/rules/cross-gcc.make
> @@ -97,6 +97,10 @@ ifdef PTXCONF_HOST_MPFR
>  CROSS_GCC_AUTOCONF_COMMON += --with-mpfr=$(PTXCONF_SYSROOT_HOST)
>  endif
>  
> +ifdef PTXCONF_HOST_MPC
> +CROSS_GCC_AUTOCONF_COMMON += --with-mpc=$(PTXCONF_SYSROOT_HOST)
> +endif
> +
>  ifdef PTXCONF_HOST_CLOOG
>  CROSS_GCC_AUTOCONF_COMMON += --with-isl=$(PTXCONF_SYSROOT_HOST) --with-cloog=$(PTXCONF_SYSROOT_HOST)
>  endif
> -- 
> 1.8.5.2
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
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-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-01-24  9:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-20 14:19 [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2013.12.0 released Michael Olbrich
2013-12-22  9:54 ` Matthias Klein
2013-12-22 15:53   ` Michael Olbrich
2014-01-13 22:23 ` Jon Ringle
2014-01-13 23:34   ` Jon Ringle
2014-01-20 12:03     ` [ptxdist] [PATCH] cross-gcc: explicitly specify path for mpc Michael Olbrich
2014-01-24  9:25       ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox