This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[CT_NG] Report compiling task with hard-float and glibc.using crosstool-ng 1.1.2


I finished compiling toolchain(arm) with crosstool-ng version 1.1.2
successfully.
Please Append Below informantion at
http://ymorin.is-a-geek.org/dokuwiki/projects/crosstool - build list.


* Result Report with hard-float(glibc) ... Success
------------------------------------------------------------------------------
DesktopLinux : CentOS 5.1 (2.6.18-53.1.14 SMP)
Target       : arm-v6vfple1136-linux-gnueabi
gcc version  : 4.2.3
libc         : glibc
libc version:  2.7
binutils version : 2.18.50.0.6
kernel headers   : 2.6.18
float support    : Hard-Float
threading model  : NPTL
Misc  : GDB 6.6, strace 4.5.16 , DUMA 2.5.12
Tester: Lim,GeunSik
--------------------------------------------------

For reference, When I tried the compiling of GLibc 2.7 source using
crosstool-ng 1.1.2,
I had to patch return type err of build_wcs_upper_buffer() like belows.

#> vi /opt/crosstool-ng-1.1.2/patches/glibc/2.7/180-glibc-2.7-build_wcs_upper_buffer.patch

May, 27 2008 Lim,GeunSik <leemgs@gmail.com>
License: LGPL v3.0

crosstool-ng ver 1.1.2 failed compiliation with a gcc error in
./glibc-2.7/posix/regex_internal.c,
We have to corresond  between regex_internal.h's prototype and
build_wcs_upper_buffer() return type of regex_internal.c.

Ref http://sourceware.org/ml/crossgcc/2006-04/msg00117.html

diff -dur glibc-2.7.orig/posix/regex_internal.h glibc-2.7/posix/regex_internal.h

--- glibc-2.7.orig/posix/regex_internal.h    2008-05-30 11:16:01.000000000 +0200
+++ glibc-2.7/posix/regex_internal.h    2008-05-30 11:16:35.000000000 +0200

@@ -391,7 +391,7 @@
      internal_function;
 # ifdef RE_ENABLE_I18N
 static void build_wcs_buffer (re_string_t *pstr) internal_function;
-static int build_wcs_upper_buffer (re_string_t *pstr) internal_function;
+static reg_errcode_t build_wcs_upper_buffer (re_string_t *pstr)
internal_function;
 # endif /* RE_ENABLE_I18N */
 static void build_upper_buffer (re_string_t *pstr) internal_function;
 static void re_string_translate_buffer (re_string_t *pstr) internal_function;

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]