Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2019 17:03:15 +0000 (UTC)
From:      Alex Richardson <arichardson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r349561 - head/libexec/rtld-elf/rtld-libc
Message-ID:  <201906301703.x5UH3F6F006622@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arichardson
Date: Sun Jun 30 17:03:14 2019
New Revision: 349561
URL: https://svnweb.freebsd.org/changeset/base/349561

Log:
  Fix CROSS_TOOLCHAIN=amd64-gcc build after r349554
  
  Apparently clang can remove the reference to __umoddi3 but GCC keeps it.
  
  Reported by:	lwhsu

Modified:
  head/libexec/rtld-elf/rtld-libc/Makefile.inc

Modified: head/libexec/rtld-elf/rtld-libc/Makefile.inc
==============================================================================
--- head/libexec/rtld-elf/rtld-libc/Makefile.inc	Sun Jun 30 15:01:19 2019	(r349560)
+++ head/libexec/rtld-elf/rtld-libc/Makefile.inc	Sun Jun 30 17:03:14 2019	(r349561)
@@ -58,7 +58,7 @@ _libc_other_objects+=aeabi_unwind_cpp
 .elif ${LIBC_ARCH} == "i386"
 # __udivdi3 is needed by kvprintf() in rtld_printf.c
 # i386 also needs i386_set_gsbase for allocate_initial_tls()
-_libc_other_objects+=udivdi3 qdivrem i386_set_gsbase
+_libc_other_objects+=umoddi3 udivdi3 qdivrem i386_set_gsbase
 .elif ${LIBC_ARCH} == "powerpc" || ${LIBC_ARCH} == "powerpcspe"
 # ppc needs __syncicache for reloc.c and __umoddi3+__udivdi3 for rtld_printf.c
 _libc_other_objects+=syncicache umoddi3 udivdi3 qdivrem



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906301703.x5UH3F6F006622>