gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] PLT problem on Sparc


From: Camm Maguire
Subject: Re: [Gcl-devel] PLT problem on Sparc
Date: Fri, 19 Jun 2009 15:24:42 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Greetings!  Does this patch just committed into 2.6.8pre fix this
problem?

Index: makefile
===================================================================
RCS file: /sources/gcl/gcl/o/makefile,v
retrieving revision 1.27.6.9.2.1.6.1.6.6
diff -u -r1.27.6.9.2.1.6.1.6.6 makefile
--- makefile    18 Oct 2006 17:08:56 -0000      1.27.6.9.2.1.6.1.6.6
+++ makefile    19 Jun 2009 19:22:32 -0000
@@ -150,7 +150,7 @@
        $(CC) -c $(CFLAGS) $(DEFS) $*.c $(AUX_INFO) 
 
 plt.h: plttest.o
-       nm $< | $(AWK) '/ U / {a=$$2;if (k) sub("^_","",a);\
+       nm $< | $(AWK) '/ U / {if ($$NF!=2) next;a=$$2;if (k) sub("^_","",a);\
                             print a}' \
                        k=$(LEADING_UNDERSCORE) |\
                        sort | \

Take care, and thanks as always for your very helpful feedback!

Jerry James <address@hidden> writes:

> A group of people are trying to get a Sparc build of Fedora put
> together.  I just received a report from them that attempting to build
> GCL failed.  The immediate problem is that plt.h is being generated
> with these contents:
>
> MY_PLT(),
> MY_PLT(),
> MY_PLT(_mcount),
> MY_PLT(_setjmp),
> MY_PLT(acos),
> MY_PLT(acosh),
> MY_PLT(asin),
> MY_PLT(asinh),
> MY_PLT(atan),
> MY_PLT(atanh),
> MY_PLT(cos),
> MY_PLT(cosh),
> MY_PLT(exp),
> MY_PLT(fdopen),
> MY_PLT(feof),
> MY_PLT(log),
> MY_PLT(memset),
> MY_PLT(read),
> MY_PLT(sin),
> MY_PLT(sincos),
> MY_PLT(sinh),
> MY_PLT(sqrt),
> MY_PLT(sscanf),
> MY_PLT(tan),
> MY_PLT(tanh),
> MY_PLT(write)
>
> Those two empty invocations of MY_PLT() at the top are causing a
> compilation error.  It's been a long time since I last used AWK.
> Before I go dig out my AWK manual to try to figure out what happened
> here, does anybody have any ideas on what could lead to those empty
> entries?
>
> Thanks,
> -- 
> Jerry James
> http://www.jamezone.org/
>
>
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gcl-devel
>
>
>
>

-- 
Camm Maguire                                        address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah




reply via email to

[Prev in Thread] Current Thread [Next in Thread]