This is the mail archive of the gcc-patches@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]

Re: [committed] Replace quadmath_flt128tostr (gdtoa based) with quadmath_snprintf (glibc based) and printf hooks (PR fortran/47642)


On Mon, Feb 14, 2011 at 07:58:53AM -0800, Steve Kargl wrote:
> On Mon, Feb 14, 2011 at 04:51:51PM +0100, Jakub Jelinek wrote:
> > Hi!
> > 
> > This patch removes the buggy gdtoa based __float128 -> string
> > printing code and adds instead floating point printing code from
> > glibc, with various configury to make it more portable (sometimes
> > at the expense of dumbing it down).
> 
> Well, I finally had time to test the patch in the pr
> on FreeBSD.  
> 
> ul.lo printf/printf_fphex.lo printf/printf_fp.lo printf/quadmath-printf.lo printf/rshift.lo printf/submul_1.lo printf/sub_n.lo  
> libtool: link: `printf/addmul_1.lo' is not a valid libtool object
> gmake[3]: *** [libquadmath.la] Error 1
> gmake[3]: Leaving directory `/usr/home/sgk/gcc/obj4x/x86_64-unknown-freebsd9.0/libquadmath'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/usr/home/sgk/gcc/obj4x/x86_64-unknown-freebsd9.0/libquadmath'
> gmake[1]: *** [all-target-libquadmath] Error 2
> gmake[1]: Leaving directory `/usr/home/sgk/gcc/obj4x'
> gmake: *** [all] Error 2
> 
> I'll revert my tree, svn update to your commit, and try again.
> 

There seems to be all sorts of problems with this commit.

        mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  /data/kargl/gcc/obj/./gcc/xgcc -B/data/kargl/gcc/obj/./gcc/ -B/home/kargl/work/4x/x86_64-unknown-freebsd9.0/bin/ -B/home/kargl/work/4x/x86_64-unknown-freebsd9.0/lib/ -isystem /home/kargl/work/4x/x86_64-unknown-freebsd9.0/include -isystem /home/kargl/work/4x/x86_64-unknown-freebsd9.0/sys-include -DHAVE_CONFIG_H -I. -I../../../gcc/libquadmath -g -O2 -MT printf/printf_fp.lo -MD -MP -MF printf/.deps/printf_fp.Tpo -c ../../../gcc/libquadmath/printf/printf_fp.c  -fPIC -DPIC -o printf/.libs/printf_fp.o
../../../gcc/libquadmath/printf/printf_fp.c:23:20: fatal error: alloca.h: No such file or directory
compilation terminated.
gmake[3]: *** [printf/printf_fp.lo] Error 1
gmake[3]: Leaving directory `/data/kargl/gcc/obj/x86_64-unknown-freebsd9.0/libquadmath'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/data/kargl/gcc/obj/x86_64-unknown-freebsd9.0/libquadmath'
gmake[1]: *** [all-target-libquadmath] Error 2
gmake[1]: Leaving directory `/data/kargl/gcc/obj'
gmake: *** [bootstrap] Error 2

-- 
Steve


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