[PATCH] haiku: operating system support
Luis Machado
luis.machado@linaro.org
Mon Sep 6 13:41:52 GMT 2021
For the record, I'm also seeing breakage (for arm32) due to this patch
with --enable-targets=all.
On 9/4/21 4:11 AM, Mike Frysinger via Binutils wrote:
> On 26 Aug 2021 12:34, Alexander von Gluck IV wrote:
>> These are the os support patches we have been grooming and
>> maintaining for quite a few years over on git.haiku-os.org
>>
>> All of these architectures are working and most have been
>> stable for quite some time.
>
> i think this broke multi build. can you take a look ?
> $ .../configure --host=i686-linux-gnu --enable-targets=all CC='ccache gcc -m32' CXX='ccache g++ -m32'
> $ make all-ld
> ...
> make[3]: Entering directory '.../ld'
> /bin/bash ./libtool --tag=CC --mode=link ccache gcc -m32 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -DELF_LIST_OPTIONS=true -DELF_SHLIB_LIST_OPTIONS=true -DELF_PLT_UNWIND_LIST_OPTIONS=true -g -O2 -fuse-ld=gold -o ld-new ldgram.o ldlex-wrapper.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o plugin.o ldbuildid.o eaix5ppc.o eaix5rs6.o eaixppc.o eaixrs6.o ealpha.o ealphavms.o earcv2elf.o earcv2elfx.o earcelf.o earclinux.o earclinux_nps.o earm_wince_pe.o earmelf.o earmelf_fbsd.o earmelf_fuchsia.o earmelf_haiku.o earmelf_linux.o earmelf_linux_eabi.o earmelf_linux_fdpiceabi.o earmelf_nacl.o earmelf_nbsd.o earmelf_phoenix.o earmelf_vxworks.o earmelfb.o earmelfb_fbsd.o earmelfb_fuchsia.o earmelfb_linux.o earmelfb_linux_eabi.o earmelfb_linux_fdpiceabi.o earmelfb_nacl.o earmelfb_nbsd.o earmnto.o earmpe.o eavr1.o eavr2.o eavr25.o eavr3.o eavr31.o eavr35.o eavr4.o eavr5.o eavr51.o eavr6.o eavrxmega1.o eavrxmega2.o eavrxmega3.o eavrxmega4.o eavrxmega5.o eavrxmega6.o eavrxmega7.o eavrtiny.o ecrisaout.o ecriself.o ecrislinux.o ecskyelf.o ecskyelf_linux.o ed10velf.o ed30v_e.o ed30v_o.o ed30velf.o eelf32_dlx.o eelf32_sparc.o eelf32_sparc_sol2.o eelf32_sparc_vxworks.o eelf32_spu.o eelf32_tic6x_be.o eelf32_tic6x_le.o eelf32_tic6x_linux_be.o eelf32_tic6x_linux_le.o eelf32_tic6x_elf_be.o eelf32_tic6x_elf_le.o eelf32am33lin.o eelf32bfin.o eelf32bfinfd.o eelf32cr16.o eelf32crx.o eelf32epiphany.o eelf32epiphany_4x4.o eelf32fr30.o eelf32frv.o eelf32frvfd.o eelf32ft32.o eelf32ip2k.o eelf32iq10.o eelf32iq2000.o eelf32lm32.o eelf32lm32fd.o eelf32lppc.o eelf32lppclinux.o eelf32lppcnto.o eelf32lppcsim.o eelf32m32c.o eelf32mb_linux.o eelf32mbel_linux.o eelf32mcore.o eelf32mep.o eelf32metag.o eelf32microblazeel.o eelf32microblaze.o eelf32moxie.o emoxiebox.o eelf32mt.o eelf32or1k.o eelf32or1k_linux.o eelf32ppc.o eelf32ppc_fbsd.o eelf32ppchaiku.o eelf32ppclinux.o eelf32ppcnto.o eelf32ppcsim.o eelf32ppcvxworks.o eelf32ppcwindiss.o eelf32rl78.o eelf32rx.o eelf32rx_linux.o eelf32tilegx.o eelf32tilegx_be.o eelf32tilepro.o eelf32vax.o eelf32visium.o eelf32xc16x.o eelf32xc16xl.o eelf32xc16xs.o eelf32xstormy16.o eelf32xtensa.o eelf32z80.o eelf_i386.o eelf_i386_be.o eelf_i386_fbsd.o eelf_i386_haiku.o eelf_i386_ldso.o eelf_i386_sol2.o eelf_i386_vxworks.o eelf_iamcu.o eelf_mipsel_haiku.o eelf_s390.o eh8300elf.o eh8300elf_linux.o eh8300helf.o eh8300helf_linux.o eh8300hnelf.o eh8300self.o eh8300self_linux.o eh8300snelf.o eh8300sxelf.o eh8300sxelf_linux.o eh8300sxnelf.o ehppaelf.o ehppalinux.o ehppanbsd.o ehppaobsd.o ei386aout.o ei386beos.o ei386bsd.o ei386go32.o ei386lynx.o ei386moss.o ei386msdos.o ei386nto.o ei386pe.o ei386pe_posix.o em32relf.o em32relf_linux.o em32rlelf.o em32rlelf_linux.o em68hc11elf.o em68hc11elfb.o em68hc12elf.o em68hc12elfb.o em68kelf.o em68kelfnbsd.o em9s12zelf.o emcorepe.o emn10200.o emn10300.o emsp430elf.o emsp430X.o ends32elf.o ends32elf16m.o ends32elf_linux.o ends32belf.o ends32belf16m.o ends32belf_linux.o ens32knbsd.o enios2elf.o enios2linux.o epc532macha.o epdp11.o epjelf.o epjlelf.o eppcmacos.o epruelf.o escore3_elf.o escore7_elf.o esh.o eshelf.o eshelf_fd.o eshelf_linux.o eshelf_nbsd.o eshelf_nto.o eshelf_uclinux.o eshelf_vxworks.o eshl.o eshlelf.o eshlelf_fd.o eshlelf_linux.o eshlelf_nbsd.o eshlelf_nto.o eshlelf_vxworks.o eshpe.o etic30coff.o etic3xcoff.o etic3xcoff_onchip.o etic4xcoff.o etic54xcoff.o ev850.o ev850_rh850.o evanilla.o evaxnbsd.o exgateelf.o ez80.o ez8001.o ez8002.o deffilep.o pe-dll.o ldelf.o ldelfgen.o ../bfd/libbfd.la ../libctf/libctf.la ../libiberty/libiberty.a -lz -ldl
> libtool: link: ccache gcc -m32 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -DELF_LIST_OPTIONS=true -DELF_SHLIB_LIST_OPTIONS=true -DELF_PLT_UNWIND_LIST_OPTIONS=true -g -O2 -fuse-ld=gold -o ld-new ldgram.o ldlex-wrapper.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o plugin.o ldbuildid.o eaix5ppc.o eaix5rs6.o eaixppc.o eaixrs6.o ealpha.o ealphavms.o earcv2elf.o earcv2elfx.o earcelf.o earclinux.o earclinux_nps.o earm_wince_pe.o earmelf.o earmelf_fbsd.o earmelf_fuchsia.o earmelf_haiku.o earmelf_linux.o earmelf_linux_eabi.o earmelf_linux_fdpiceabi.o earmelf_nacl.o earmelf_nbsd.o earmelf_phoenix.o earmelf_vxworks.o earmelfb.o earmelfb_fbsd.o earmelfb_fuchsia.o earmelfb_linux.o earmelfb_linux_eabi.o earmelfb_linux_fdpiceabi.o earmelfb_nacl.o earmelfb_nbsd.o earmnto.o earmpe.o eavr1.o eavr2.o eavr25.o eavr3.o eavr31.o eavr35.o eavr4.o eavr5.o eavr51.o eavr6.o eavrxmega1.o eavrxmega2.o eavrxmega3.o eavrxmega4.o eavrxmega5.o eavrxmega6.o eavrxmega7.o eavrtiny.o ecrisaout.o ecriself.o ecrislinux.o ecskyelf.o ecskyelf_linux.o ed10velf.o ed30v_e.o ed30v_o.o ed30velf.o eelf32_dlx.o eelf32_sparc.o eelf32_sparc_sol2.o eelf32_sparc_vxworks.o eelf32_spu.o eelf32_tic6x_be.o eelf32_tic6x_le.o eelf32_tic6x_linux_be.o eelf32_tic6x_linux_le.o eelf32_tic6x_elf_be.o eelf32_tic6x_elf_le.o eelf32am33lin.o eelf32bfin.o eelf32bfinfd.o eelf32cr16.o eelf32crx.o eelf32epiphany.o eelf32epiphany_4x4.o eelf32fr30.o eelf32frv.o eelf32frvfd.o eelf32ft32.o eelf32ip2k.o eelf32iq10.o eelf32iq2000.o eelf32lm32.o eelf32lm32fd.o eelf32lppc.o eelf32lppclinux.o eelf32lppcnto.o eelf32lppcsim.o eelf32m32c.o eelf32mb_linux.o eelf32mbel_linux.o eelf32mcore.o eelf32mep.o eelf32metag.o eelf32microblazeel.o eelf32microblaze.o eelf32moxie.o emoxiebox.o eelf32mt.o eelf32or1k.o eelf32or1k_linux.o eelf32ppc.o eelf32ppc_fbsd.o eelf32ppchaiku.o eelf32ppclinux.o eelf32ppcnto.o eelf32ppcsim.o eelf32ppcvxworks.o eelf32ppcwindiss.o eelf32rl78.o eelf32rx.o eelf32rx_linux.o eelf32tilegx.o eelf32tilegx_be.o eelf32tilepro.o eelf32vax.o eelf32visium.o eelf32xc16x.o eelf32xc16xl.o eelf32xc16xs.o eelf32xstormy16.o eelf32xtensa.o eelf32z80.o eelf_i386.o eelf_i386_be.o eelf_i386_fbsd.o eelf_i386_haiku.o eelf_i386_ldso.o eelf_i386_sol2.o eelf_i386_vxworks.o eelf_iamcu.o eelf_mipsel_haiku.o eelf_s390.o eh8300elf.o eh8300elf_linux.o eh8300helf.o eh8300helf_linux.o eh8300hnelf.o eh8300self.o eh8300self_linux.o eh8300snelf.o eh8300sxelf.o eh8300sxelf_linux.o eh8300sxnelf.o ehppaelf.o ehppalinux.o ehppanbsd.o ehppaobsd.o ei386aout.o ei386beos.o ei386bsd.o ei386go32.o ei386lynx.o ei386moss.o ei386msdos.o ei386nto.o ei386pe.o ei386pe_posix.o em32relf.o em32relf_linux.o em32rlelf.o em32rlelf_linux.o em68hc11elf.o em68hc11elfb.o em68hc12elf.o em68hc12elfb.o em68kelf.o em68kelfnbsd.o em9s12zelf.o emcorepe.o emn10200.o emn10300.o emsp430elf.o emsp430X.o ends32elf.o ends32elf16m.o ends32elf_linux.o ends32belf.o ends32belf16m.o ends32belf_linux.o ens32knbsd.o enios2elf.o enios2linux.o epc532macha.o epdp11.o epjelf.o epjlelf.o eppcmacos.o epruelf.o escore3_elf.o escore7_elf.o esh.o eshelf.o eshelf_fd.o eshelf_linux.o eshelf_nbsd.o eshelf_nto.o eshelf_uclinux.o eshelf_vxworks.o eshl.o eshlelf.o eshlelf_fd.o eshlelf_linux.o eshlelf_nbsd.o eshlelf_nto.o eshlelf_vxworks.o eshpe.o etic30coff.o etic3xcoff.o etic3xcoff_onchip.o etic4xcoff.o etic54xcoff.o ev850.o ev850_rh850.o evanilla.o evaxnbsd.o exgateelf.o ez80.o ez8001.o ez8002.o deffilep.o pe-dll.o ldelf.o ldelfgen.o ../bfd/.libs/libbfd.a ../libctf/.libs/libctf.a -L.../libctf/../libiberty .../bfd/.libs/libbfd.a -liberty ../libiberty/libiberty.a -lz -ldl
> .../ld/eelf_mipsel_haiku.c:223: error: undefined reference to '_bfd_mips_elf_compact_branches'
> .../ld/eelf_mipsel_haiku.c:224: error: undefined reference to '_bfd_mips_elf_init_stubs'
> .../ld/eelf_mipsel_haiku.c:218: error: undefined reference to '_bfd_mips_elf_linker_flags'
> .../ld/eelf_mipsel_haiku.c:241: error: undefined reference to '_bfd_mips_elf_use_plts_and_copy_relocs'
> collect2: error: ld returned 1 exit status
> make[3]: *** [Makefile:1234: ld-new] Error 1
> make[3]: Leaving directory '.../ld'
> make[2]: *** [Makefile:1826: all-recursive] Error 1
> make[2]: Leaving directory '.../ld'
> make[1]: *** [Makefile:1061: all] Error 2
> make[1]: Leaving directory '.../ld'
> make: *** [Makefile:7598: all-ld] Error 2
>
More information about the Binutils
mailing list