Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to gcc-6.3.0 and other newest tools #4

Merged
merged 3 commits into from
Mar 11, 2017
Merged

Conversation

anton-bondarev
Copy link
Contributor

No description provided.

@anton-bondarev anton-bondarev mentioned this pull request Mar 9, 2017
@sikmir
Copy link
Member

sikmir commented Mar 9, 2017

Failed with:

config.status: executing libtool commands
../../readline/libreadline.a(display.o): In function `insert_some_chars':
display.c:(.text+0x4957): undefined reference to `tgoto'
../../readline/libreadline.a(display.o): In function `delete_chars':
display.c:(.text+0x4a92): undefined reference to `tgoto'
../../readline/libreadline.a(terminal.o): In function `_rl_init_terminal_io':
terminal.c:(.text+0x6c6): undefined reference to `BC'
terminal.c:(.text+0x6d4): undefined reference to `UP'
terminal.c:(.text+0x720): undefined reference to `BC'
terminal.c:(.text+0x72e): undefined reference to `UP'
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:609: sis] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/sikmir/projects/crosstool/build-sparc/build-gdb/sim/erc32'
make[2]: *** [Makefile:129: all] Error 1
make[2]: Leaving directory '/home/sikmir/projects/crosstool/build-sparc/build-gdb/sim'
make[1]: *** [Makefile:9203: all-sim] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/sikmir/projects/crosstool/build-sparc/build-gdb'
make: *** [Makefile:856: all] Error 2
Building gdb failed

Host gcc 6.3.1.

@AntonKozlov
Copy link
Member

Travis unable to build i386 by some reason (build is Killed, I can imagine some process exceed Travis memory quotes)

On my host (gcc 6.3.1 too) gcc built with success, but I also stopped on gdb, but with different error:

g++ -g -O2   -I. -I../../gdb-7.12/gdb -I../../gdb-7.12/gdb/common -I../../gdb-7.12/gdb/config -DLOCALEDIR="\"/home/anton/embox/crosstool/build-sparc/install-gdb/share/locale\"" -DHAVE_CONFIG_H -I../../gdb-7.12/gdb/../include/opcode -I../../gdb-7.12/gdb/../opcodes/.. -I../../gdb-7.12/gdb/../readline/.. -I../../gdb-7.12/gdb/../zlib -I../bfd -I../../gdb-7.12/gdb/../bfd -I../../gdb-7.12/gdb/../include -I../libdecnumber -I../../gdb-7.12/gdb/../libdecnumber  -I../../gdb-7.12/gdb/gnulib/import -Ibuild-gnulib/import   -DTUI=1   -pthread -I/usr/include/guile/2.0 -I/usr/include/python3.6m -I/usr/include/python3.6m -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-write-strings -Wno-narrowing -Wformat-nonliteral  -c -o gdb.o -MT gdb.o -MMD -MP -MF .deps/gdb.Tpo ../../gdb-7.12/gdb/gdb.c
In file included from build-gnulib/import/stdio.h:53:0,
                 from ../../gdb-7.12/gdb/common/common-defs.h:31,
                 from ../../gdb-7.12/gdb/defs.h:28,
                 from ../../gdb-7.12/gdb/gdb.c:19:
build-gnulib/import/stddef.h:104:3: error: conflicting declaration 'typedef union max_align_t max_align_t'
 } max_align_t;
   ^~~~~~~~~~~
In file included from build-gnulib/import/stddef.h:55:0,
                 from build-gnulib/import/stdio.h:53,
                 from ../../gdb-7.12/gdb/common/common-defs.h:31,
                 from ../../gdb-7.12/gdb/defs.h:28,
                 from ../../gdb-7.12/gdb/gdb.c:19:
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/include/stddef.h:429:3: note: previous declaration as 'typedef struct max_align_t max_align_t'
 } max_align_t;
   ^~~~~~~~~~~
make[2]: *** [Makefile:1131: gdb.o] Error 1
make[2]: Leaving directory '/home/anton/embox/crosstool/build-sparc/build-gdb/gdb'
make[1]: *** [Makefile:10091: all-gdb] Error 2
make[1]: Leaving directory '/home/anton/embox/crosstool/build-sparc/build-gdb'
make: *** [Makefile:856: all] Error 2
Building gdb failed

I suppose this is good, but i386 travis build should be fixed somehow

@AntonKozlov AntonKozlov merged commit 870738b into master Mar 11, 2017
@AntonKozlov AntonKozlov deleted the update-to-6.3.0 branch March 11, 2017 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants