From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25341 invoked by alias); 21 Sep 2016 09:23:26 -0000 Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org Received: (qmail 25013 invoked by uid 89); 21 Sep 2016 09:23:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:U*libffi-discuss, HTo:U*libffi-discuss X-HELO: mail-wm0-f44.google.com Received: from mail-wm0-f44.google.com (HELO mail-wm0-f44.google.com) (74.125.82.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 21 Sep 2016 09:23:15 +0000 Received: by mail-wm0-f44.google.com with SMTP id l132so256401012wmf.0 for ; Wed, 21 Sep 2016 02:23:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Oy0+pMTqbLkb8Pszsn70sqviYfBTMERr8ARvdBDaDnM=; b=ZLuXwbSgC8Jyz4cJAPOAsH1MTo8Cm+vXx+xh+48vheVwxFCDGd9bqxEAfXwF0NWtaj XXiDS6ZOiw8GuK7AwPqfT2QHzR+rG55i3WbSTx5foso7eKZxUhxFgvfY6GSLYhBcGtqh X7HguqZ5ADywVV/6V1k12WIgK8WMf/5H2fvEbQC+mTlOeQfxtODfvuxvkkzc7tvPARyh GrrBB0VZ6BgjfwNf8QaF/1dXdVPTqkKYh5u4/rwzgrBupfjR/Aj+SMTeSs7SVUPuh55p 0CTGvUTK7Yv902peRk0I1rJC3FVHdPvmqVqk+k5DmTkUG7yIqPbBunTCdIUG/SC3EA61 LYpA== X-Gm-Message-State: AE9vXwOD0Y9cck8GFinnr5hlqy8rsOp7HyNCniIFrQlcNY3HApgZy6e4Ut+C4rNuecMxftPu5wFvmA4cXI2t7g== X-Received: by 10.194.144.50 with SMTP id sj18mr28270102wjb.197.1474449793195; Wed, 21 Sep 2016 02:23:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.143.98 with HTTP; Wed, 21 Sep 2016 02:22:52 -0700 (PDT) In-Reply-To: References: From: "Matwey V. Kornilov" Date: Wed, 21 Sep 2016 09:23:00 -0000 Message-ID: Subject: Re: git libffi and gcc To: libffi-discuss@sourceware.org Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016/txt/msg00041.txt.bz2 2016-09-19 15:29 GMT+03:00 Matwey V. Kornilov : > Hello, > > I've found that some gcc/libjava issue was fixed in gcc at libffi merge commit. > I would like to bisect exact commit it libffi which fixes this issue. > I am trying to use libffi git with gcc as the following: > > cd gcc > rm -rf libffi > git clone https://github.com/libffi/libffi > cd libffi > git checkout needed_commit > sh autogen.sh > > But then something is broken inside the build framework after it: > > make[2]: Entering directory > '/home/abuild/gcc/obj/armv7hl-suse-linux-gnueabi/libffi' > depbase=`echo src/prep_cif.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ > /bin/sh ./libtool --tag=CC --mode=compile > /home/abuild/gcc/obj/./gcc/xgcc -B/home/abuild/gcc/obj/./gcc/ > -B/usr/armv7hl-suse-linux-gnueabi/bin/ > -B/usr/armv7hl-suse-linux-gnueabi/lib/ -isystem > /usr/armv7hl-suse-linux-gnueabi/include -isystem > /usr/armv7hl-suse-linux-gnueabi/sys-include -DHAVE_CONFIG_H -I. > -I../../../libffi -I. -I../../../libffi/include -Iinclude > -I../../../libffi/src -O3 -fomit-frame-pointer -fstrict-aliasing > -ffast-math -Wall -fexceptions -MT src/prep_cif.lo -MD -MP -MF > $depbase.Tpo -c -o src/prep_cif.lo ../../../libffi/src/prep_cif.c &&\ > mv -f $depbase.Tpo $depbase.Plo > mv: cannot stat 'src/.deps/prep_cif.Tpo': No such file or directory > Makefile:1343: recipe for target 'src/prep_cif.lo' failed > make[2]: *** [src/prep_cif.lo] Error 1 > > So, what is the correct way to regenerate libffi autoconf/automake > stuff for using inside gcc build tree? ./configure generates something incomplete for ./libtool Probably it has to use ltmain.sh from gcc root? > > -- > With best regards, > Matwey V. Kornilov > http://blog.matwey.name > xmpp://0x2207@jabber.ru -- With best regards, Matwey V. Kornilov http://blog.matwey.name xmpp://0x2207@jabber.ru