From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24210 invoked by alias); 19 Jul 2011 10:47:44 -0000 Received: (qmail 24200 invoked by uid 22791); 19 Jul 2011 10:47:42 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 19 Jul 2011 10:47:28 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 4F0DFA17; Tue, 19 Jul 2011 12:47:26 +0200 (CEST) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GFPVJ8Jwjgho; Tue, 19 Jul 2011 12:47:23 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id E7BC9A16; Tue, 19 Jul 2011 12:47:22 +0200 (CEST) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p6JAlLUc012353; Tue, 19 Jul 2011 12:47:21 +0200 (MEST) From: Rainer Orth To: sje@cup.hp.com Cc: Tristan Gingold , GCC Patches , Douglas Rupp Subject: Re: CFT: Move unwinder to toplevel libgcc References: <1310058332.10986.2616.camel@hpsje.cup.hp.com> <1310078773.10986.2627.camel@hpsje.cup.hp.com> <1310491090.10986.2693.camel@hpsje.cup.hp.com> <1310594583.10986.2819.camel@hpsje.cup.hp.com> <1311009267.10986.2913.camel@hpsje.cup.hp.com> Date: Tue, 19 Jul 2011 11:43:00 -0000 In-Reply-To: <1311009267.10986.2913.camel@hpsje.cup.hp.com> (Steve Ellcey's message of "Mon, 18 Jul 2011 10:14:27 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-07/txt/msg01494.txt.bz2 Steve, > I tried this (here is the libgcc/config.host entry for ia64*-*-linux*): > > ia64*-*-linux*) > extra_parts=3D"crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastm= ath.o" > tmake_file=3D"ia64/t-ia64 t-softfp ia64/t-fprules-softfp ia64/t-s= oftfp-compat ia64/t-glibc ia64/t-eh-ia64 t-libunwind" > if test x$with_system_libunwind !=3D xyes ; then > tmake_file=3D"${tmake_file} t-slibgcc t-libunwind-elf ia6= 4/t-glibc-libunwind" > fi > md_unwind_header=3Dia64/linux-unwind.h > ;; > > > The build still failed, but it failed in a different way. I got: > > /wsp/sje/gcc_git/build-ia64-debian-linux-gnu-gcc/obj_gcc/./gcc/xgcc -B/ws= p/sje/gcc_git/build-ia64-debian-linux-gnu-gcc/obj_gcc/./gcc/ -B/wsp/sje/gcc= _git/gcc-ia64-debian-linux-gnu-gcc/ia64-debian-linux-gnu/bin/ -B/wsp/sje/gc= c_git/gcc-ia64-debian-linux-gnu-gcc/ia64-debian-linux-gnu/lib/ -isystem /ws= p/sje/gcc_git/gcc-ia64-debian-linux-gnu-gcc/ia64-debian-linux-gnu/include -= isystem /wsp/sje/gcc_git/gcc-ia64-debian-linux-gnu-gcc/ia64-debian-linux-gn= u/sys-include -O2 -g -O2 -DIN_GCC -DUSE_LIBUNWIND_EXCEPTIONS -W -Wall= -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold= -style-definition -isystem ./include -fPIC -DUSE_GAS_SYMVER -g -DHAVE_GTH= R_DEFAULT -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -shared -nod= efaultlibs -o ./libgcc_s.so.1.tmp -g -O2 -B./ __divdf3_s.o __divsf3_s.o __= divdi3_s.o __moddi3_s.o __udivdi3_s.o __umoddi3_s.o __divsi3_s.o __modsi3_s= .o __udivsi3_s.o __umodsi3_s.o __save_stack_nonlocal_s.o __nonlocal_goto_s.= o __restore_stack_nonlocal_s.o __trampoline_s.o _muldi3_s.o _negdi2_s.o _ls= hrdi3_s.o _ashldi3_s.o _ashrdi3_s.o _cmpdi2_s.o _ucmpdi2_s.o _clear_cache_s= .o _trampoline_s.o __main_s.o _absvsi2_s.o _absvdi2_s.o _addvsi3_s.o _addvd= i3_s.o _subvsi3_s.o _subvdi3_s.o _mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o _ne= gvdi2_s.o _ctors_s.o _ffssi2_s.o _ffsdi2_s.o _clz_s.o _clzsi2_s.o _clzdi2_s= .o _ctzsi2_s.o _ctzdi2_s.o _popcount_tab_s.o _popcountsi2_s.o _popcountdi2_= s.o _paritysi2_s.o _paritydi2_s.o _powisf2_s.o _powidf2_s.o _powixf2_s.o _p= owitf2_s.o _mulsc3_s.o _muldc3_s.o _mulxc3_s.o _multc3_s.o _divsc3_s.o _div= dc3_s.o _divxc3_s.o _divtc3_s.o _bswapsi2_s.o _bswapdi2_s.o _clrsbsi2_s.o _= clrsbdi2_s.o _fixunssfsi_s.o _fixunsdfsi_s.o _fixunsxfsi_s.o _fixsfdi_s.o _= fixdfdi_s.o _fixxfdi_s.o _fixunssfdi_s.o _fixunsdfdi_s.o _fixunsxfdi_s.o _f= loatdisf_s.o _floatdidf_s.o _floatdixf_s.o > _floatundisf_s.o _floatundidf_s.o _floatundixf_s.o _divdi3_s.o _moddi3_s= .o _udivdi3_s.o _umoddi3_s.o _udiv_w_sdiv_s.o _udivmoddi4_s.o addtf3_s.o di= vtf3_s.o eqtf2_s.o getf2_s.o letf2_s.o multf3_s.o negtf2_s.o subtf3_s.o uno= rdtf2_s.o fixtfsi_s.o fixunstfsi_s.o floatsitf_s.o floatunsitf_s.o fixtfdi_= s.o fixunstfdi_s.o floatditf_s.o floatunditf_s.o fixtfti_s.o fixunstfti_s.o= floattitf_s.o floatuntitf_s.o extendsftf2_s.o extenddftf2_s.o extendxftf2_= s.o trunctfsf2_s.o trunctfdf2_s.o trunctfxf2_s.o tf-signs_s.o __divxf3_s.o = _fixtfdi_s.o _fixunstfdi_s.o _floatditf_s.o enable-execute-stack_s.o unwind= -sjlj_s.o unwind-c_s.o unwind-compat_s.o unwind-dw2-fde-compat_s.o emutls_s= .o -lc && rm -f ./libgcc_s.so && if [ -f ./libgcc_s.so.1 ]; then mv -f ./li= bgcc_s.so.1 ./libgcc_s.so.1.backup; else true; fi && mv ./libgcc_s.so.1.tmp= ./libgcc_s.so.1 && ln -s libgcc_s.so.1 ./libgcc_s.so > /wsp/sje/gcc_git/gcc-ia64-debian-linux-gnu-gcc/ia64-debian-linux-gnu/bin/= ld: ./libgcc_s.so.1.tmp: version node not found for symbol _Unwind_Backtrac= e@GCC_3.3 > /wsp/sje/gcc_git/gcc-ia64-debian-linux-gnu-gcc/ia64-debian-linux-gnu/bin/= ld: failed to set dynamic section sizes: Bad value > collect2: error: ld returned 1 exit status > make[3]: *** [libgcc_s.so] Error 1 unfortunately, I don't even have an idea what this error is supposed to mean. Seems to be an error ultimately due to bfd/elfxx-ia64.c (elfNN_ia64_size_dynamic_sections) failing. To debug this, I'd start by comparing the link lines for a vanilla build with my patch, then, if no differences are apparent, check the object files. Sorry this is such a mess. Rainer --=20 ---------------------------------------------------------------------------= -- Rainer Orth, Center for Biotechnology, Bielefeld University