[RTEMS Project] #3817: RSB fails on FreeBSD 12.0 (32bit and 64bit)

RTEMS trac trac at rtems.org
Tue Nov 5 23:34:11 UTC 2019


#3817: RSB fails on FreeBSD 12.0 (32bit and 64bit)
------------------------+--------------------------
 Reporter:  Jeff Mayes  |       Owner:  Chris Johns
     Type:  defect      |      Status:  assigned
 Priority:  normal      |   Milestone:  5.1
Component:  arch/arm    |     Version:  5
 Severity:  normal      |  Resolution:
 Keywords:              |  Blocked By:
 Blocking:              |
------------------------+--------------------------
Changes (by Chris Johns):

 * milestone:   => 5.1


Old description:

> Fails to build GDB for both the Arm and Sparc architectures.
>
> RTEMS Tools Project - Source Builder Error Report
>  Build: error: building sparc-rtems5-gdb-8.3-x86_64-freebsd12.0-1
>  Command Line: ../source-builder/sb-set-builder
> --prefix=/home/mayes/dev/rtems/5 5/rtems-sparc
>  Python: 3.6.9 (default, Oct 24 2019, 01:18:01) [GCC 4.2.1 Compatible
> FreeBSD Clang 6.0.1 (tags/RELEASE_601/final 335540)]
>  git://git.rtems.org/rtems-source-
> builder.git/origin/9a1cf9a2d940a4f79cd822f05c8fb13a4c0ec3bb
>  FreeBSD rtbf64b 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC amd64
>
>   CXXLD  gdb
> /usr/bin/ld: error: undefined symbol: libiconv_open
> >>> referenced by charset.c
> >>>               charset.o:(convert_between_encodings(char const*, char
> const*, unsigned char const*, unsigned int, int, obstack*,
> transliterations))
>
> /usr/bin/ld: error: undefined symbol: libiconv
> >>> referenced by charset.c
> >>>               charset.o:(convert_between_encodings(char const*, char
> const*, unsigned char const*, unsigned int, int, obstack*,
> transliterations))
>
> /usr/bin/ld: error: undefined symbol: libiconv_close
> >>> referenced by charset.c
> >>>               charset.o:(convert_between_encodings(char const*, char
> const*, unsigned char const*, unsigned int, int, obstack*,
> transliterations))
>
> /usr/bin/ld: error: undefined symbol: libiconv_close
> >>> referenced by charset.c
> >>>               charset.o:(convert_between_encodings(char const*, char
> const*, unsigned char const*, unsigned int, int, obstack*,
> transliterations))
>
> /usr/bin/ld: error: undefined symbol: libiconv_open
> >>> referenced by charset.c
> >>>               charset.o:(wchar_iterator::wchar_iterator(unsigned char
> const*, unsigned long, char const*, unsigned long))
>
> /usr/bin/ld: error: undefined symbol: libiconv_close
> >>> referenced by charset.c
> >>>               charset.o:(wchar_iterator::~wchar_iterator())
>
> /usr/bin/ld: error: undefined symbol: libiconv_close
> >>> referenced by charset.c
> >>>               charset.o:(validate(gdbarch*))
> c++: error: linker command failed with exit code 1 (use -v to see
> invocation)
> gmake[2]: *** [Makefile:1889: gdb] Error 1
> gmake[2]: Leaving directory '/usr/home/mayes/dev/rsb/rtems/build/sparc-
> rtems5-gdb-8.3-x86_64-freebsd12.0-1/build/gdb'
> gmake[1]: *** [Makefile:8792: all-gdb] Error 2
> gmake[1]: Leaving directory '/usr/home/mayes/dev/rsb/rtems/build/sparc-
> rtems5-gdb-8.3-x86_64-freebsd12.0-1/build'
> gmake: *** [Makefile:849: all] Error 2
> shell cmd failed: /bin/sh -ex  /usr/home/mayes/dev/rsb/rtems/build/sparc-
> rtems5-gdb-8.3-x86_64-freebsd12.0-1/do-build
> error: building sparc-rtems5-gdb-8.3-x86_64-freebsd12.0-1

New description:

 Fails to build GDB for both the Arm and Sparc architectures.
 {{{
 RTEMS Tools Project - Source Builder Error Report
  Build: error: building sparc-rtems5-gdb-8.3-x86_64-freebsd12.0-1
  Command Line: ../source-builder/sb-set-builder
 --prefix=/home/mayes/dev/rtems/5 5/rtems-sparc
  Python: 3.6.9 (default, Oct 24 2019, 01:18:01) [GCC 4.2.1 Compatible
 FreeBSD Clang 6.0.1 (tags/RELEASE_601/final 335540)]
  git://git.rtems.org/rtems-source-
 builder.git/origin/9a1cf9a2d940a4f79cd822f05c8fb13a4c0ec3bb
  FreeBSD rtbf64b 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC amd64

   CXXLD  gdb
 /usr/bin/ld: error: undefined symbol: libiconv_open
 >>> referenced by charset.c
 >>>               charset.o:(convert_between_encodings(char const*, char
 const*, unsigned char const*, unsigned int, int, obstack*,
 transliterations))

 /usr/bin/ld: error: undefined symbol: libiconv
 >>> referenced by charset.c
 >>>               charset.o:(convert_between_encodings(char const*, char
 const*, unsigned char const*, unsigned int, int, obstack*,
 transliterations))

 /usr/bin/ld: error: undefined symbol: libiconv_close
 >>> referenced by charset.c
 >>>               charset.o:(convert_between_encodings(char const*, char
 const*, unsigned char const*, unsigned int, int, obstack*,
 transliterations))

 /usr/bin/ld: error: undefined symbol: libiconv_close
 >>> referenced by charset.c
 >>>               charset.o:(convert_between_encodings(char const*, char
 const*, unsigned char const*, unsigned int, int, obstack*,
 transliterations))

 /usr/bin/ld: error: undefined symbol: libiconv_open
 >>> referenced by charset.c
 >>>               charset.o:(wchar_iterator::wchar_iterator(unsigned char
 const*, unsigned long, char const*, unsigned long))

 /usr/bin/ld: error: undefined symbol: libiconv_close
 >>> referenced by charset.c
 >>>               charset.o:(wchar_iterator::~wchar_iterator())

 /usr/bin/ld: error: undefined symbol: libiconv_close
 >>> referenced by charset.c
 >>>               charset.o:(validate(gdbarch*))
 c++: error: linker command failed with exit code 1 (use -v to see
 invocation)
 gmake[2]: *** [Makefile:1889: gdb] Error 1
 gmake[2]: Leaving directory '/usr/home/mayes/dev/rsb/rtems/build/sparc-
 rtems5-gdb-8.3-x86_64-freebsd12.0-1/build/gdb'
 gmake[1]: *** [Makefile:8792: all-gdb] Error 2
 gmake[1]: Leaving directory '/usr/home/mayes/dev/rsb/rtems/build/sparc-
 rtems5-gdb-8.3-x86_64-freebsd12.0-1/build'
 gmake: *** [Makefile:849: all] Error 2
 shell cmd failed: /bin/sh -ex  /usr/home/mayes/dev/rsb/rtems/build/sparc-
 rtems5-gdb-8.3-x86_64-freebsd12.0-1/do-build
 error: building sparc-rtems5-gdb-8.3-x86_64-freebsd12.0-1
 }}}

--

--
Ticket URL: <http://devel.rtems.org/ticket/3817#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list