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] |
Hi Nick, This is a patch i made for making glibc-2.7 work for arm compilation your problem seems to be unwind diff -urN glibc-2.7.orig/Makeconfig glibc-2.7.mine/Makeconfig --- glibc-2.7.orig/Makeconfig 2007-07-06 03:33:47.000000000 +0530 +++ glibc-2.7.mine/Makeconfig 2008-02-18 00:33:09.000000000 +0530 @@ -524,12 +524,14 @@ libunwind = -lunwind endif ifneq ($(have-as-needed),yes) - libgcc_eh := -lgcc_eh $(libunwind) + # libgcc_eh := -lgcc_eh $(libunwind) + libgcc_eh := $(libunwind) else libgcc_eh := -Wl,--as-needed -lgcc_s$(libgcc_s_suffix) $(libunwind) -Wl,--no-as-needed endif gnulib := -lgcc $(libgcc_eh) -static-gnulib := -lgcc -lgcc_eh $(libunwind) +# static-gnulib := -lgcc -lgcc_eh $(libunwind) + static-gnulib := -lgcc $(libunwind) libc.so-gnulib := -lgcc endif ifeq ($(elf),yes) comment out the lines +# and add the lines with a + to your glibc-source With newlib i have not tried out newlib yet but i guess you can try this change ... however if your not picky about using newlib you can use crosstool which has a mips-sel example demo toolchain .... But you need to do some setup ...on the script file demo-mipssel.sh Hope this helps.... Regards Deepak > On 12 Mar 2008 16:50:29 -0000, <crossgcc-digest-help@sourceware.org> wrote: > > > > crossgcc Digest 12 Mar 2008 16:50:29 -0000 Issue 2062 > > > > Topics (messages 14927 through 14933): > > > > MIPS cross-compiler to build kernel for SGI O2? > > 14927 by: David Daney <ddaney@avtrex.com> > > > > Problem Installing on MacOSX Leopard > > 14928 by: "kevinlux -" <kevinlux@gmail.com> > > 14929 by: Khem Raj <kraj@mvista.com> > > 14930 by: "kevinlux -" <kevinlux@gmail.com> > > 14931 by: "kevinlux -" <kevinlux@gmail.com> > > 14932 by: "kevinlux -" <kevinlux@gmail.com> > > > > mips assembly produced on a linux x86 > > 14933 by: Nick Brockner <nbrockne@hamilton.edu> > > > > Administrivia: > > > > To subscribe to the digest, e-mail: > > crossgcc-digest-subscribe@sourceware.org > > > > To unsubscribe from the digest, e-mail: > > crossgcc-digest-unsubscribe@sourceware.org > > > > To post to the list, e-mail: > > crossgcc@sourceware.org > > > > > > ---------------------------------------------------------------------- > > > > > > ---------- Forwarded message ---------- > > From: David Daney <ddaney@avtrex.com> > > To: "Robert P. J. Day" <rpjday@crashcourse.ca> > > Date: Mon, 10 Mar 2008 10:05:05 -0700 > > Subject: Re: MIPS cross-compiler to build kernel for SGI O2? > > Robert P. J. Day wrote: > > > On Mon, 10 Mar 2008, David Daney wrote: > > > > > >> Robert P. J. Day wrote: > > >>> has anyone verified that they have a MIPS toolchain that will > > >>> cross-compile a linux kernel to run on an SGI O2? thanks. > > >>> > > >> Yes, I have built recent kernels for my O2 with both GCC-4.2 and > > >> GCC-4.3 cross compilers running on x86_64-pc-linux. > > > > > > did you start from scratch and do a linux install on your O2? > > > > Yes. > > > > > if so, > > > can you supply the details? > > > > First I installed debian for the O2, then I replaced the kernel with a > > cross built 2.4.23 and 2.4.25 built on my x86_64-pc-linux system. Both > > 2.4.23 and 2.4.25 boot with no problem for me. > > > > > and which version is your O2? R5000 or > > > R10000? > > > > R5000 > > > > The r10000 is not well supported. Messages posted to linux-mips.org > > indicated that the r10000 problems are being worked on. > > > > > thanks. (and the config file you used to generate the > > > toolchain with crosstool would be great. in other words, how did you > > > do it from beginning to end?) > > > > I don't use cross tool. > > > > Follow the instructions for cross linux-from-scratch for mips64 except > > don't apply any of the patches as current binutils and GCC don't require > > them. > > > > > > > > > > rday > > > -- > > > > > > ======================================================================== > > > Robert P. J. Day > > > Linux Consulting, Training and Annoying Kernel Pedantry: > > > Have classroom, will lecture. > > > > > > http://crashcourse.ca Waterloo, Ontario, CANADA > > > ======================================================================== > > > > > > > > ---------- Forwarded message ---------- > > From: "kevinlux -" <kevinlux@gmail.com> > > To: crossgcc@sourceware.org > > Date: Mon, 10 Mar 2008 22:02:08 +0100 > > Subject: Problem Installing on MacOSX Leopard > > Hi all, > > I'm trying to compile new crosstool-ng-1.0 but seems that it fails in configure, > > Infact a ./configure --prefix=/opt/local on my system produce no > > Makefile and this output > > ----------- > > sed: illegal option -- r > > usage: sed script [-Ealn] [-i extension] [file ...] > > sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... > > [file ...] > > crosstool-NG configured as follows: > > PREFIX="/opt/local" > > BINDIR="/opt/local/bin" > > LIBDIR="/opt/local/lib/ct-ng-1.0.0+svn" > > DOCDIR="/opt/local/share/doc/ct-ng-1.0.0+svn" > > MANDIR="/opt/local/share/man/man1" > > > > seems that sed on my system do not have the option -r and not the equivalent. > > How i can fix it? If u need a tester for macos x for this purpose i'm here! > > > > Best Regards > > luciano > > > > > > ---------- Forwarded message ---------- > > From: Khem Raj <kraj@mvista.com> > > To: kevinlux - <kevinlux@gmail.com> > > Date: Mon, 10 Mar 2008 14:37:11 -0700 > > Subject: Re: Problem Installing on MacOSX Leopard > > > > On Mar 10, 2008, at 2:02 PM, kevinlux - wrote: > > > > > Hi all, > > > I'm trying to compile new crosstool-ng-1.0 but seems that it fails > > > in configure, > > > Infact a ./configure --prefix=/opt/local on my system produce no > > > Makefile and this output > > > ----------- > > > sed: illegal option -- r > > > usage: sed script [-Ealn] [-i extension] [file ...] > > > sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... > > > [file ...] > > > crosstool-NG configured as follows: > > > PREFIX="/opt/local" > > > BINDIR="/opt/local/bin" > > > LIBDIR="/opt/local/lib/ct-ng-1.0.0+svn" > > > DOCDIR="/opt/local/share/doc/ct-ng-1.0.0+svn" > > > MANDIR="/opt/local/share/man/man1" > > > > > > seems that sed on my system do not have the option -r and not the > > > equivalent. > > > > You seem to be using leopard provided sed. > > > > > > How i can fix it? If u need a tester for macos x for this purpose > > > i'm here! > > > > May be you can install macports > > > > > > > > > Best Regards > > > luciano > > > > > > -- > > > For unsubscribe information see http://sourceware.org/lists.html#faq > > > > > > > Khem Raj > > > > > > > > > > > > ---------- Forwarded message ---------- > > From: "kevinlux -" <kevinlux@gmail.com> > > To: "Khem Raj" <kraj@mvista.com> > > Date: Mon, 10 Mar 2008 23:01:13 +0100 > > Subject: Re: Problem Installing on MacOSX Leopard > > 2008/3/10, Khem Raj <kraj@mvista.com>: > > > > > > On Mar 10, 2008, at 2:02 PM, kevinlux - wrote: > > > > > > > Hi all, > > > > I'm trying to compile new crosstool-ng-1.0 but seems that it fails > > > > in configure, > > > > Infact a ./configure --prefix=/opt/local on my system produce no > > > > Makefile and this output > > > > ----------- > > > > sed: illegal option -- r > > > > usage: sed script [-Ealn] [-i extension] [file ...] > > > > sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... > > > > [file ...] > > > > crosstool-NG configured as follows: > > > > PREFIX="/opt/local" > > > > BINDIR="/opt/local/bin" > > > > LIBDIR="/opt/local/lib/ct-ng-1.0.0+svn" > > > > DOCDIR="/opt/local/share/doc/ct-ng-1.0.0+svn" > > > > MANDIR="/opt/local/share/man/man1" > > > > > > > > seems that sed on my system do not have the option -r and not the > > > > equivalent. > > > > > > > > > You seem to be using leopard provided sed. > > > > > > > > > > > How i can fix it? If u need a tester for macos x for this purpose > > > > i'm here! > > > > > > > > > May be you can install macports > > > > Yes, I'm on Leopard 10.5.2 with macports i have installed gsed and > > make a link to gsed. > > Compilation and installation works but when i type ct-ng bash return > > immediately and nothing happen!! > > > > > > ---------- Forwarded message ---------- > > From: "kevinlux -" <kevinlux@gmail.com> > > To: "Khem Raj" <kraj@mvista.com> > > Date: Mon, 10 Mar 2008 23:10:55 +0100 > > Subject: Re: Problem Installing on MacOSX Leopard > > 2008/3/10, kevinlux - <kevinlux@gmail.com>: > > > 2008/3/10, Khem Raj <kraj@mvista.com>: > > > > > > > > > > > On Mar 10, 2008, at 2:02 PM, kevinlux - wrote: > > > > > > > > > Hi all, > > > > > I'm trying to compile new crosstool-ng-1.0 but seems that it fails > > > > > in configure, > > > > > Infact a ./configure --prefix=/opt/local on my system produce no > > > > > Makefile and this output > > > > > ----------- > > > > > sed: illegal option -- r > > > > > usage: sed script [-Ealn] [-i extension] [file ...] > > > > > sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... > > > > > [file ...] > > > > > crosstool-NG configured as follows: > > > > > PREFIX="/opt/local" > > > > > BINDIR="/opt/local/bin" > > > > > LIBDIR="/opt/local/lib/ct-ng-1.0.0+svn" > > > > > DOCDIR="/opt/local/share/doc/ct-ng-1.0.0+svn" > > > > > MANDIR="/opt/local/share/man/man1" > > > > > > > > > > seems that sed on my system do not have the option -r and not the > > > > > equivalent. > > > > > > > > > > > > You seem to be using leopard provided sed. > > > > > > > > > > > > > > How i can fix it? If u need a tester for macos x for this purpose > > > > > i'm here! > > > > > > > > > > > > May be you can install macports > > > > > > > > > Yes, I'm on Leopard 10.5.2 with macports i have installed gsed and > > > make a link to gsed. > > > Compilation and installation works but when i type ct-ng bash return > > > immediately and nothing happen!! > > > > > > > Sorry after a distclean I rebuild and installed but some others problem persist. > > My log is attached : > > > > /opt/local/bin/ct-ng menuconfig > > /opt/local/lib/ct-ng-1.0.0+svn/kconfig/mconf.c: In function 'conf_string': > > /opt/local/lib/ct-ng-1.0.0+svn/kconfig/mconf.c:777: warning: > > assignment discards qualifiers from pointer target type > > /opt/local/lib/ct-ng-1.0.0+svn/kconfig/mconf.c:780: warning: > > assignment discards qualifiers from pointer target type > > /opt/local/lib/ct-ng-1.0.0+svn/kconfig/mconf.c:783: warning: > > assignment discards qualifiers from pointer target type > > Undefined symbols: > > "_endwin", referenced from: > > _end_dialog in ccW5WQTW.o > > "_doupdate", referenced from: > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > "_init_pair", referenced from: > > _init_one_color in ccW5WQTW.o > > "_winch", referenced from: > > _draw_shadow in ccW5WQTW.o > > _draw_shadow in ccW5WQTW.o > > _draw_shadow in ccW5WQTW.o > > "_keypad", referenced from: > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_menu in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _reset_dialog in ccW5WQTW.o > > _on_key_esc in ccW5WQTW.o > > _on_key_esc in ccW5WQTW.o > > _dialog_yesno in cczh2K5S.o > > "_COLS", referenced from: > > _COLS$non_lazy_ptr in ccxR400t.o > > _COLS$non_lazy_ptr in cc4DPWvd.o > > _COLS$non_lazy_ptr in ccObIPUz.o > > _COLS$non_lazy_ptr in ccW9j01j.o > > _COLS$non_lazy_ptr in ccW5WQTW.o > > _COLS$non_lazy_ptr in cczh2K5S.o > > "_ungetch", referenced from: > > _on_key_esc in ccW5WQTW.o > > "_waddnstr", referenced from: > > _print_item in ccxR400t.o > > _print_arrows in ccxR400t.o > > _print_arrows in ccxR400t.o > > _dialog_inputbox in cc4DPWvd.o > > _do_print_item in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _print_line in ccW9j01j.o > > _dialog_clear in ccW5WQTW.o > > _print_title in ccW5WQTW.o > > _print_autowrap in ccW5WQTW.o > > _print_autowrap in ccW5WQTW.o > > _print_button in ccW5WQTW.o > > _print_button in ccW5WQTW.o > > _print_button in ccW5WQTW.o > > "_subwin", referenced from: > > _dialog_checklist in ccxR400t.o > > _dialog_menu in ccObIPUz.o > > _dialog_textbox in ccW9j01j.o > > "_newwin", referenced from: > > _dialog_checklist in ccxR400t.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_menu in ccObIPUz.o > > _dialog_textbox in ccW9j01j.o > > _dialog_yesno in cczh2K5S.o > > "_nodelay", referenced from: > > _on_key_esc in ccW5WQTW.o > > _on_key_esc in ccW5WQTW.o > > "_initscr", referenced from: > > _reset_dialog in ccW5WQTW.o > > "_wgetch", referenced from: > > _dialog_checklist in ccxR400t.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_menu in ccObIPUz.o > > _dialog_textbox in ccW9j01j.o > > _on_key_esc in ccW5WQTW.o > > _on_key_esc in ccW5WQTW.o > > _on_key_esc in ccW5WQTW.o > > _dialog_yesno in cczh2K5S.o > > "_flash", referenced from: > > _dialog_inputbox in cc4DPWvd.o > > "_wscrl", referenced from: > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _do_scroll in ccObIPUz.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > "_wrefresh", referenced from: > > _print_item in ccxR400t.o > > _print_buttons in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _print_buttons in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _do_print_item in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _print_buttons in ccObIPUz.o > > _do_scroll in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _refresh_text_box in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _print_buttons in cczh2K5S.o > > _dialog_yesno in cczh2K5S.o > > "_wprintw", referenced from: > > _print_item in ccxR400t.o > > _print_position in ccW9j01j.o > > "_stdscr", referenced from: > > _stdscr$non_lazy_ptr in ccxR400t.o > > _stdscr$non_lazy_ptr in cc4DPWvd.o > > _stdscr$non_lazy_ptr in ccObIPUz.o > > _stdscr$non_lazy_ptr in ccW9j01j.o > > _stdscr$non_lazy_ptr in ccW5WQTW.o > > _stdscr$non_lazy_ptr in cczh2K5S.o > > "_wtouchln", referenced from: > > _attr_clear in ccW5WQTW.o > > "_acs_map", referenced from: > > _acs_map$non_lazy_ptr in ccxR400t.o > > _acs_map$non_lazy_ptr in cc4DPWvd.o > > _acs_map$non_lazy_ptr in ccObIPUz.o > > _acs_map$non_lazy_ptr in ccW9j01j.o > > _acs_map$non_lazy_ptr in ccW5WQTW.o > > _acs_map$non_lazy_ptr in cczh2K5S.o > > "_LINES", referenced from: > > _LINES$non_lazy_ptr in ccxR400t.o > > _LINES$non_lazy_ptr in cc4DPWvd.o > > _LINES$non_lazy_ptr in ccObIPUz.o > > _LINES$non_lazy_ptr in ccW9j01j.o > > _LINES$non_lazy_ptr in ccW5WQTW.o > > _LINES$non_lazy_ptr in cczh2K5S.o > > "_wbkgdset", referenced from: > > _dialog_menu in ccObIPUz.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _print_position in ccW9j01j.o > > "_scrollok", referenced from: > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _do_scroll in ccObIPUz.o > > _do_scroll in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > "_cbreak", referenced from: > > _reset_dialog in ccW5WQTW.o > > "_start_color", referenced from: > > _color_setup in ccW5WQTW.o > > "_wnoutrefresh", referenced from: > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_menu in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _print_page in ccW9j01j.o > > _dialog_clear in ccW5WQTW.o > > _draw_shadow in ccW5WQTW.o > > "_noecho", referenced from: > > _reset_dialog in ccW5WQTW.o > > "_waddch", referenced from: > > _print_item in ccxR400t.o > > _print_item in ccxR400t.o > > _print_arrows in ccxR400t.o > > _print_arrows in ccxR400t.o > > _print_arrows in ccxR400t.o > > _print_arrows in ccxR400t.o > > _print_arrows in ccxR400t.o > > _print_arrows in ccxR400t.o > > _print_arrows in ccxR400t.o > > _print_arrows in ccxR400t.o > > _print_arrows in ccxR400t.o > > _print_arrows in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _do_print_item in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _print_line in ccW9j01j.o > > _attr_clear in ccW5WQTW.o > > _dialog_clear in ccW5WQTW.o > > _print_title in ccW5WQTW.o > > _print_title in ccW5WQTW.o > > _print_button in ccW5WQTW.o > > _print_button in ccW5WQTW.o > > _draw_box in ccW5WQTW.o > > _draw_box in ccW5WQTW.o > > _draw_box in ccW5WQTW.o > > _draw_box in ccW5WQTW.o > > _draw_box in ccW5WQTW.o > > _draw_box in ccW5WQTW.o > > _draw_box in ccW5WQTW.o > > _draw_box in ccW5WQTW.o > > _draw_box in ccW5WQTW.o > > _draw_shadow in ccW5WQTW.o > > _draw_shadow in ccW5WQTW.o > > _draw_shadow in ccW5WQTW.o > > _dialog_yesno in cczh2K5S.o > > _dialog_yesno in cczh2K5S.o > > _dialog_yesno in cczh2K5S.o > > "_delwin", referenced from: > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_menu in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _dialog_yesno in cczh2K5S.o > > _dialog_yesno in cczh2K5S.o > > _dialog_yesno in cczh2K5S.o > > _dialog_yesno in cczh2K5S.o > > _dialog_yesno in cczh2K5S.o > > "_has_colors", referenced from: > > _color_setup in ccW5WQTW.o > > _draw_shadow in ccW5WQTW.o > > "_wclrtoeol", referenced from: > > _do_print_item in ccObIPUz.o > > _print_line in ccW9j01j.o > > "_wmove", referenced from: > > _print_item in ccxR400t.o > > _print_item in ccxR400t.o > > _print_item in ccxR400t.o > > _print_item in ccxR400t.o > > _print_arrows in ccxR400t.o > > _print_arrows in ccxR400t.o > > _print_buttons in ccxR400t.o > > _dialog_checklist in ccxR400t.o > > _print_buttons in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _dialog_inputbox in cc4DPWvd.o > > _do_print_item in ccObIPUz.o > > _do_print_item in ccObIPUz.o > > _do_print_item in ccObIPUz.o > > _do_print_item in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _print_arrows in ccObIPUz.o > > _print_buttons in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _dialog_menu in ccObIPUz.o > > _refresh_text_box in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _dialog_textbox in ccW9j01j.o > > _print_line in ccW9j01j.o > > _print_position in ccW9j01j.o > > _attr_clear in ccW5WQTW.o > > _dialog_clear in ccW5WQTW.o > > _dialog_clear in ccW5WQTW.o > > _print_title in ccW5WQTW.o > > _print_title in ccW5WQTW.o > > _print_autowrap in ccW5WQTW.o > > _print_autowrap in ccW5WQTW.o > > _print_button in ccW5WQTW.o > > _print_button in ccW5WQTW.o > > _draw_box in ccW5WQTW.o > > _draw_shadow in ccW5WQTW.o > > _draw_shadow in ccW5WQTW.o > > _print_buttons in cczh2K5S.o > > _dialog_yesno in cczh2K5S.o > > ld: symbol(s) not found > > collect2: ld returned 1 exit status > > make: *** [/Users/luxboy/crosstool/kconfig/mconf] Error 1 > > > > > > ---------- Forwarded message ---------- > > From: "kevinlux -" <kevinlux@gmail.com> > > To: > > Date: Tue, 11 Mar 2008 11:09:11 +0100 > > Subject: Re: Problem Installing on MacOSX Leopard > > i avoided the error simply using > > ct-ng config > > but seems the some others issues exists. > > > > $ ct-ng build > > [INFO ] Build started 20080311.104613 > > [00:01] | /opt/local/lib/ct-ng-1.0.0/scripts/functions: line 200: > > 1205228774N: value too great for base (error token is "1205228774N") > > [ERROR] Build failed in step "Dumping crosstool-NG configuration" > > [ERROR] Error happened in > > "/opt/local/lib/ct-ng-1.0.0/scripts/functions" in function > > "CT_EndStep" (line unknown, sorry) > > [ERROR] called from > > "/opt/local/lib/ct-ng-1.0.0/scripts/crosstool.sh" at line # 36 in > > function "main" > > [ERROR] Look at "" for more info on this error. > > [ERROR] Build completed at 20080311.104614 > > [00:01] / /opt/local/lib/ct-ng-1.0.0/scripts/functions: line 116: > > 1205228774N: value too great for base (error token is "1205228774N") > > [INFO ] Checking environment sanity > > [INFO ] Building environment variables > > [00:01] / uname: illegal option -- o > > usage: uname [-amnprsv] > > [WARN ] You did not specify the build system. That's OK, I can guess... > > [00:03] / /opt/local/lib/ct-ng-1.0.0/scripts/functions: line 200: > > 1205228776N: value too great for base (error token is "1205228776N") > > [ERROR] Build failed in step "Dumping internal crosstool-NG configuration" > > [ERROR] Error happened in > > "/opt/local/lib/ct-ng-1.0.0/scripts/functions" in function > > "CT_EndStep" (line unknown, sorry) > > [ERROR] called from > > "/opt/local/lib/ct-ng-1.0.0/scripts/crosstool.sh" at line # 316 in > > function "main" > > [ERROR] Look at "/Users/luxboy/i686-unknown-linux-gnu/build.log" > > for more info on this error. > > [ERROR] Build completed at 20080311.104616 > > [00:03] / /opt/local/lib/ct-ng-1.0.0/scripts/functions: line 116: > > 1205228776N: value too great for base (error token is "1205228776N") > > [INFO ] ================================================================= > > [INFO ] Retrieving needed toolchain components' tarballs > > [04:27] - /opt/local/lib/ct-ng-1.0.0/scripts/functions: line 200: > > 1205229040N: value too great for base (error token is "1205229040N") > > [ERROR] Build failed in step "Retrieving needed toolchain > > components' tarballs" > > [ERROR] Error happened in > > "/opt/local/lib/ct-ng-1.0.0/scripts/functions" in function > > "CT_EndStep" (line unknown, sorry) > > [ERROR] called from > > "/opt/local/lib/ct-ng-1.0.0/scripts/crosstool.sh" at line # 336 in > > function "main" > > [ERROR] Look at "/Users/luxboy/i686-unknown-linux-gnu/build.log" > > for more info on this error. > > [ERROR] Build completed at 20080311.105040 > > [04:27] / /opt/local/lib/ct-ng-1.0.0/scripts/functions: line 116: > > 1205229040N: value too great for base (error token is "1205229040N") > > [INFO ] Retrieving needed toolchain components' tarballs: done in > > [ERROR] Build failed in step "Retrieving needed toolchain > > components' tarballs" > > [INFO ] [ERROR] Error happened in > > "/opt/local/lib/ct-ng-1.0.0/scripts/functions" in function > > "CT_EndStep" (line unknown, sorry) > > [INFO ] [ERROR] called from > > "/opt/local/lib/ct-ng-1.0.0/scripts/crosstool.sh" at line # 336 in > > function "main" > > [INFO ] [ERROR] Look at > > "/Users/luxboy/i686-unknown-linux-gnu/build.log" for more info on this > > error. > > [INFO ] [ERROR] Build completed at 20080311.105040s > > [INFO ] ================================================================= > > [INFO ] Extracting and patching toolchain components......... > > ........................... > > it fails after 10 minutes and many couples of [ERROR] > > > > > > ---------- Forwarded message ---------- > > From: Nick Brockner <nbrockne@hamilton.edu> > > To: crossgcc@sourceware.org > > Date: Wed, 12 Mar 2008 12:49:54 -0400 > > Subject: mips assembly produced on a linux x86 > > Hi All, > > > > I need to install a separate cross compiler on a Fedora Core 5 Linux box > > (2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 i686 > > i386 GNU/Linux) > > > > So, I need a version of GCC that will only be run with the -S flag to > > make assembly output (edu environment) and not interfere with the > > currrently installed version of gcc on the box. > > > > I have spent a bit of time on this, and have the latest tarballs of GCC, > > newlib, and binutils. However, I am running into issues when building > > the cross-compiler, and I am wondering if there is an easier way to go > > about this, especially since I only need gcc to produce assembly files > > for little endian mips targets. > > > > I am using $TARGET=mipsel-linux and $PREFIX=/opt/crossgcc when building > > binutils and gcc, using these instructions found in another posting: > > (http://www.nabble.com/Build-my-own-cross-compiler-for-non-Linux-Targets-(MIPS,-ARM,-PPC)-td14168870.html): > > > > > > PREFIX=/opt/crossgcc > > TARGET=mipsel-linux > > BINUTILS_VER=2.18 > > GCC_VER=4.3.0 > > NEWLIB_VER=1.16.0 > > > > tar xjf binutils-${BINUTILS_VER}.tar.bz2 > > mkdir build > > cd build > > ../binutils-${BINUTILS_VER}/configure --prefix=$PREFIX --target=$TARGET > > make > > make install > > cd .. > > rm -rf binutils-${BINUTILS_VER} build > > PATH=$PREFIX/bin:$PATH > > tar xzf newlib-${NEWLIB_VER}.tar.gz > > mv newlib-${NEWLIB_VER} gcc-${GCC_VER} > > tar xjf gcc-core-${GCC_VER}.tar.bz2 > > mkdir build > > cd build > > ../gcc-${GCC_VER}/configure --prefix=$PREFIX --target=$TARGET > > make > > make install > > cd .. > > rm -rf build gcc-${GCC_VER} > > > > > > I get this error late in the gcc build process: > > > > --------snip----------- > > > > -DHAVE_CC_TLS -o unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF > > unwind-dw2.dep -fexceptions -c > > ../../../gcc-4.3.0/libgcc/../gcc/unwind-dw2.c -fvisibility=hidden > > -DHIDE_EXPORTS > > In file included from ../.././gcc/gthr-default.h:1, > > from ../../../gcc-4.3.0/libgcc/../gcc/gthr.h:132, > > from ../../../gcc-4.3.0/libgcc/../gcc/unwind-dw2.c:42: > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:43:21: error: pthread.h: > > No such file or directory > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:44:20: error: unistd.h: No > > such file or directory > > In file included from ../.././gcc/gthr-default.h:1, > > from ../../../gcc-4.3.0/libgcc/../gcc/gthr.h:132, > > from ../../../gcc-4.3.0/libgcc/../gcc/unwind-dw2.c:42: > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:46: error: expected ā=ā, > > ā,ā, ā;ā, āasmā or ā__attribute__ā before ā__gthread_key_tā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:47: error: expected ā=ā, > > ā,ā, ā;ā, āasmā or ā__attribute__ā before ā__gthread_once_tā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:48: error: expected ā=ā, > > ā,ā, ā;ā, āasmā or ā__attribute__ā before ā__gthread_mutex_tā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:49: error: expected ā=ā, > > ā,ā, ā;ā, āasmā or ā__attribute__ā before ā__gthread_recursive_mutex_tā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:50: error: expected ā=ā, > > ā,ā, ā;ā, āasmā or ā__attribute__ā before ā__gthread_cond_tā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:100: error: āpthread_onceā > > undeclared here (not in a function) > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:100: warning: type > > defaults to āintā in declaration of ā__gthrw_pthread_onceā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:101: error: > > āpthread_getspecificā undeclared here (not in a function) > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:101: warning: type > > defaults to āintā in declaration of ā__gthrw_pthread_getspecificā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:102: error: > > āpthread_setspecificā undeclared here (not in a function) > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:102: warning: type > > defaults to āintā in declaration of ā__gthrw_pthread_setspecificā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:103: error: > > āpthread_createā undeclared here (not in a function) > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:103: warning: type > > defaults to āintā in declaration of ā__gthrw_pthread_createā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:104: error: > > āpthread_cancelā undeclared here (not in a function) > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:104: warning: type > > defaults to āintā in declaration of ā__gthrw_pthread_cancelā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:105: error: > > āpthread_mutex_lockā undeclared here (not in a function) > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:105: warning: type > > defaults to āintā in declaration of ā__gthrw_pthread_mutex_lockā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:106: error: > > āpthread_mutex_trylockā undeclared here (not in a function) > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:106: warning: type > > defaults to āintā in declaration of ā__gthrw_pthread_mutex_trylockā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:107: error: > > āpthread_mutex_unlockā undeclared here (not in a function) > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:107: warning: type > > defaults to āintā in declaration of ā__gthrw_pthread_mutex_unlockā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:108: error: > > āpthread_mutex_initā undeclared here (not in a function) > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:108: warning: type > > defaults to āintā in declaration of ā__gthrw_pthread_mutex_initā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:109: error: > > āpthread_cond_broadcastā undeclared here (not in a function) > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:109: warning: type > > defaults to āintā in declaration of ā__gthrw_pthread_cond_broadcastā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:110: error: > > āpthread_cond_waitā undeclared here (not in a function) > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:110: warning: type > > defaults to āintā in declaration of ā__gthrw_pthread_cond_waitā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:113: error: > > āpthread_key_createā undeclared here (not in a function) > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:113: warning: type > > defaults to āintā in declaration of ā__gthrw_pthread_key_createā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:114: error: > > āpthread_key_deleteā undeclared here (not in a function) > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:114: warning: type > > defaults to āintā in declaration of ā__gthrw_pthread_key_deleteā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:115: error: > > āpthread_mutexattr_initā undeclared here (not in a function) > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:115: warning: type > > defaults to āintā in declaration of ā__gthrw_pthread_mutexattr_initā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:116: error: > > āpthread_mutexattr_settypeā undeclared here (not in a function) > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:116: warning: type > > defaults to āintā in declaration of ā__gthrw_pthread_mutexattr_settypeā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:117: error: > > āpthread_mutexattr_destroyā undeclared here (not in a function) > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:117: warning: type > > defaults to āintā in declaration of ā__gthrw_pthread_mutexattr_destroyā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:647: error: expected ā)ā > > before ā*ā token > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:656: error: expected ā)ā > > before ā*ā token > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:662: error: expected ā)ā > > before ākeyā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:668: error: expected ā)ā > > before ākeyā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:674: error: expected ā)ā > > before ākeyā > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:680: error: expected ā)ā > > before ā*ā token > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:689: error: expected ā)ā > > before ā*ā token > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:698: error: expected ā)ā > > before ā*ā token > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:708: error: expected ā)ā > > before ā*ā token > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:729: error: expected ā)ā > > before ā*ā token > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:735: error: expected ā)ā > > before ā*ā token > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:741: error: expected ā)ā > > before ā*ā token > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:747: error: expected ā)ā > > before ā*ā token > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:753: error: expected ā)ā > > before ā*ā token > > ../../../gcc-4.3.0/libgcc/../gcc/gthr-posix.h:759: error: expected ā)ā > > before ā*ā token > > ../../../gcc-4.3.0/libgcc/../gcc/unwind-dw2.c: In function > > āuw_init_context_1ā: > > ../../../gcc-4.3.0/libgcc/../gcc/unwind-dw2.c:1432: error: expected ā=ā, > > ā,ā, ā;ā, āasmā or ā__attribute__ā before āonce_regsizesā > > ../../../gcc-4.3.0/libgcc/../gcc/unwind-dw2.c:1432: error: > > āonce_regsizesā undeclared (first use in this function) > > ../../../gcc-4.3.0/libgcc/../gcc/unwind-dw2.c:1432: error: (Each > > undeclared identifier is reported only once > > ../../../gcc-4.3.0/libgcc/../gcc/unwind-dw2.c:1432: error: for each > > function it appears in.) > > ../../../gcc-4.3.0/libgcc/../gcc/unwind-dw2.c:1432: error: > > āPTHREAD_ONCE_INITā undeclared (first use in this function) > > ../../../gcc-4.3.0/libgcc/../gcc/unwind-dw2.c:1433: warning: implicit > > declaration of function ā__gthread_onceā > > make[2]: *** [unwind-dw2.o] Error 1 > > make[2]: Leaving directory `/opt/crossgcc/build/mipsel-linux/libgcc' > > make[1]: *** [all-target-libgcc] Error 2 > > make[1]: Leaving directory `/opt/crossgcc/build' > > make: *** [all] Error 2 > > > > > > -------------end snip--------------------- > > > > Any help is greatly appreciated. > > > > Thanks. > > > > > > > > -- > Hack Hack Hack > -- Hack Hack Hack
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |