This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/15120] [libtool bug] hidden symbol `__sdivsi3_i4' is referenced by DSO


------- Additional Comments From himba at siol dot net  2004-05-04 16:45 -------
I managed to reproduce similar error with 3.3.2 cross compiler for arm
architecture building on i386 architecture. Compiling microwindows-0.90 (from
www.microwindows.org):

/usr/local/arm/3.3.2/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld:
/home/roaher/tmp/microwindows-0.90/src/bin/demo: hidden symbol `__udivsi3' in
/usr/local/arm/3.3.2/lib/gcc-lib/arm-linux/3.3.2/libgcc.a(_udivsi3.oS) is
referenced by DSO
collect2: ld returned 1 exit status

Other hidden sysmbols may appear too.
Tested with prebuilt toolchain from handhelds
(http://handhelds.org/download/toolchain/arm-linux-toolchain-current.tar.bz2)
and my 3.3.2 toolchain built with ptxdist tool
(http://www.pengutronix.de/software/ptxdist_en.html) based on
PTXCONF_BINUTILS_2_14=y
PTXCONF_GCC_3_3_2=y
PTXCONF_GCC_3=y
PTXCONF_GCC_SHARED=y
PTXCONF_GCC_MULTILIB=y
PTXCONF_GLIBC_2_3_2=y
PTXCONF_GLIBC_PTHREADS=y
PTXCONF_GLIBC_SHARED=y

I tried patching gcc-3.3.2/libtool.m4 by setting lt_cv_deplibs_check_method to
pass_all on line 688, and binutils-2.14/libtool.m4 on line 646, but with no success.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15120


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]