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

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Fri, 18 Jan 2019 22:00:39 -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
 Keywords:                |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  arm           |
--------------------------+------------------------------
 == Problem
 I am unable to set up a cross-compiling environment for the ARM port on
 Ubuntu 18.04. The build fails while compiling libicuio with the following
 error:

 {{{
 /haiku/generated.arm/cross-tools-arm/lib/gcc/arm-unknown-haiku/7.3.0
 /../../../../arm-unknown-haiku/bin/ld:
 /home/pedro/haiku/haiku/generated.arm/cross-tools-arm/lib/gcc/arm-unknown-
 haiku/7.3.0/../../../../arm-unknown-haiku/lib/libstdc++.a(istream-inst.o):
 relocation R_ARM_REL32 against external or undefined symbol
 `_ZTIN10__cxxabiv115__forced_unwindE' can not be used when making a shared
 object; recompile with -fPIC
 }}}

 For further details, please check the full log in attach.

 == Steps
 To reproduce the error checkout the master branch and perform the
 following steps:

 {{{
 mkdir generated.arm
 cd generated.arm/
 ../configure -j4 --build-cross-tools arm ../../buildtools --bootstrap
 ../../haikuporter/haikuporter ../../haikuports.cross ../../haikuports
 jam -q @bootstrap-raw
 }}}

 == Operating System
 Linux Ubuntu 18.04.1 LTS

 == Machine
 Dell XPS 9360

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

Other related posts: