All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vlad Zakharov <Vladislav.Zakharov@synopsys.com>
To: buildroot@busybox.net
Subject: [Buildroot] [arc-buildroot] Analysis of autobuild failures 18-19/11
Date: Mon, 21 Nov 2016 11:44:23 +0000	[thread overview]
Message-ID: <1479728662.5879.6.camel@synopsys.com> (raw)
In-Reply-To: <40bbe29b-2601-f710-970c-065f0b2c639f@mind.be>

On Sat, 2016-11-19 at 20:23 +0100, Arnout Vandecappelle wrote:
> 
> http://autobuild.buildroot.net/results/1a506eee41dd9e3a14244f4add90d89d7b818352
> arc / arc700????mpfr-3.1.5??????uclibc??
> 
> 
> > /bin/bash ../libtool? --tag=CC?? --mode=compile /accts/mlweber1/rc-buildroot-test/scripts/instance-
> 1/output/host/usr/bin/arc-buildroot-linux-uclibc-gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1
> -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1
> -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1
> -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1
> -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I.?? -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64? -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os? -ffloat-store
> -c -o mul.lo mul.c
> > libtool: compile:? /accts/mlweber1/rc-buildroot-test/scripts/instance-1/output/host/usr/bin/arc-buildroot-linux-
> uclibc-gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1
> -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1
> -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1
> -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1
> -DHAVE_NEARBYINT=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1
> -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -ffloat-store -c mul.c? -fPIC -DPIC -o
> .libs/mul.o
> > In file included from mpfr-impl.h:98:0,
> >????????????????? from mul.c:24:
> > mul.c: In function 'mpfr_mul':
> > mpfr-longlong.h:403:3: error: impossible constraint in 'asm'
> >??? __asm__ ("add.f\t%1, %4, %5\n\tadc\t%0, %2, %3"?? \
> >??? ^
> > mul.c:333:11: note: in expansion of macro 'add_ssaaaa'
> >??????????? add_ssaaaa (tmp[2], tmp[1], tmp[2], tmp[1], 0, t);
> >??????????? ^~~~~~~~~~
> > mpfr-longlong.h:403:3: error: impossible constraint in 'asm'
> >??? __asm__ ("add.f\t%1, %4, %5\n\tadc\t%0, %2, %3"?? \
> >??? ^
> > mul.c:343:11: note: in expansion of macro 'add_ssaaaa'
> >??????????? add_ssaaaa (tmp[2], tmp[1], tmp[2], tmp[1], 0, t1);
> >??????????? ^~~~~~~~~~
> > mpfr-longlong.h:403:3: error: impossible constraint in 'asm'
> >??? __asm__ ("add.f\t%1, %4, %5\n\tadc\t%0, %2, %3"?? \
> >??? ^
> > mul.c:347:11: note: in expansion of macro 'add_ssaaaa'
> >??????????? add_ssaaaa (tmp[3], t1, tmp[3], t1, 0, t3);
> >??????????? ^~~~~~~~~~
> > mpfr-longlong.h:403:3: error: impossible constraint in 'asm'
> >??? __asm__ ("add.f\t%1, %4, %5\n\tadc\t%0, %2, %3"?? \
> >??? ^
> > mul.c:349:11: note: in expansion of macro 'add_ssaaaa'
> >??????????? add_ssaaaa (tmp[2], tmp[1], tmp[2], tmp[1], t1, t2);
> >??????????? ^~~~~~~~~~
> 
> ?Compiler bug. I guess the Synopsys people will look at this, right?

Hi Arnout,?

The issue here is caused by obsolete ARC asm constraints that are no longer supported in GCC. Unfortunately such
constraints are still used in source code of some packages, e.g. "mpfr" library.?
I am preparing a workaround that replaces these obsolete constraints with up-to-date ones and send this patch to
buildroot.?
Also I am going to send a patch that updates asm constraints to "mpfr" in order to fix initial issue.?

Thanks.
-- 
Best regards,
Vlad Zakharov <vzakhar@synopsys.com>

  parent reply	other threads:[~2016-11-21 11:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-19 19:23 [Buildroot] Analysis of autobuild failures 18-19/11 Arnout Vandecappelle
2016-11-19 20:55 ` Romain Naour
2016-11-20 15:24 ` Arnout Vandecappelle
2016-11-20 23:18 ` Sam Bobroff
2016-11-24 20:48   ` Arnout Vandecappelle
2016-11-25  0:51     ` Sam Bobroff
2016-11-21 11:21 ` Waldemar Brodkorb
2016-11-21 23:40   ` Arnout Vandecappelle
2016-11-23 11:37     ` Waldemar Brodkorb
2016-11-23 12:06       ` Arnout Vandecappelle
2016-11-25  0:26         ` Waldemar Brodkorb
2016-11-21 11:44 ` Vlad Zakharov [this message]
2016-11-21 14:51 ` [Buildroot] [arc-buildroot] " Alexey Brodkin
2016-11-21 22:08 ` [Buildroot] " Thomas Petazzoni
2016-11-21 23:38   ` Arnout Vandecappelle
2016-11-22  8:26     ` Thomas Petazzoni
2016-11-22 15:30       ` Arnout Vandecappelle
2016-11-22 15:38         ` Thomas Petazzoni
     [not found]           ` <CANLo3Ji8MiH29tYCwmpu4KMDJkcm7-75EUGK1mq3e8Tnih6aZQ@mail.gmail.com>
2016-11-22 19:08             ` Romain Naour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1479728662.5879.6.camel@synopsys.com \
    --to=vladislav.zakharov@synopsys.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.