[haiku-bugs] Re: [Haiku] #14842: Error building bootstraping libicuio while cross-compiling ARM on Ubuntu 18.04

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 15 Feb 2019 21:47:53 -0000

#14842: Error building bootstraping libicuio while cross-compiling ARM on Ubuntu
18.04
----------------------------+----------------------------
   Reporter:  pemdp         |      Owner:  bonefish
       Type:  bug           |     Status:  new
   Priority:  normal        |  Milestone:  Unscheduled
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  arm
----------------------------+----------------------------

Comment (by kallisti5):

 @waddlesplash pointed out this issue after looking at the i386 history...
 however the diff below didn't fix it (no change):

 {{{
 diff --git a/gcc/libstdc++-v3/configure b/gcc/libstdc++-v3/configure
 index 826bfb1dd..e151440bc 100755
 --- a/gcc/libstdc++-v3/configure
 +++ b/gcc/libstdc++-v3/configure
 @@ -15018,8 +15018,8 @@ if test "$enable_shared" = yes; then
    glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"

  else
 -  glibcxx_lt_pic_flag=
 -  glibcxx_compiler_pic_flag=
 +  glibcxx_lt_pic_flag="-prefer-pic"
 +  glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
    glibcxx_compiler_shared_flag=
  fi

 diff --git a/gcc/libstdc++-v3/configure.ac b/gcc/libstdc++-v3/configure.ac
 index 8e973503b..22268e3fb 100644
 --- a/gcc/libstdc++-v3/configure.ac
 +++ b/gcc/libstdc++-v3/configure.ac
 @@ -121,8 +121,8 @@ if test "$enable_shared" = yes; then
    glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"

  else
 -  glibcxx_lt_pic_flag=
 -  glibcxx_compiler_pic_flag=
 +  glibcxx_lt_pic_flag="-prefer-pic"
 +  glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
    glibcxx_compiler_shared_flag=
  fi
  AC_SUBST(glibcxx_lt_pic_flag)
 }}}

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14842#comment:17>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: