[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Re: gprof broken? Please try to get rid of GCL configure and
From: |
Camm Maguire |
Subject: |
[Gcl-devel] Re: gprof broken? Please try to get rid of GCL configure and make warnings! |
Date: |
22 Mar 2006 13:06:25 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings! Cannot reproduce on backyard -- sem to have built an ansi
gprof image there. Please let me know if problems persist.
Take care,
Robert Boyer <address@hidden> writes:
F> In a fresh 2.7.0, I can't seem to make gprof anymore. My configure command
> was:
>
> nice ./configure --quiet --silent --enable-ansi
> --disable-statsysbfd --enable-locbfd
> --enable-gprof
>
> The make command was just "make". The fatal error message at the end was:
>
> gcc -o raw_gcl \
> -L. -Wl,-Map raw_gcl_map -lgcl -pg -lreadline -lncurses -lm -lc
> -lgclp
> ./libgcl.a(sys_gcl.o): In function `gcl_init_system':
> sys_gcl.c:(.text+0x4410): undefined reference to `init_gcl_cmpeval'
> collect2: ld returned 1 exit status
> make[1]: *** [raw_gcl] Error 1
>
> But there were so many warnings before that. It would be wonderful if you
> could get rid of ALL "warning" messages. Guru you may know when to just
> ignore warning, but I am always worried about them. Seeing 252 "is being
> redefined" is not nice. Can you please turn that off during the build?
> Surely it's no more than a flag being set.
>
> Bob
>
> P. S. Other, perhaps more serious, warnings:
>
> checking whether gcc -march=pentiumpro is good... configure: WARNING:
> unrecognised gcc version string: gcc (GCC) 3.3.4
>
> gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I./../include -W -Wall -Wtraditional
> -pedantic ./regex.c -o regex.o
> In file included from ../include/xregex.h:26,
> from regex.c:199:
> ../include/xregex2.h:548: warning: ISO C90 does not support `static' or type
> qualifiers in parameter array declarators
> In file included from regex.c:653:
> regex.c: In function `byte_compile_range':
> regex.c:4552: warning: signed and unsigned type in conditional expression
> regex.c:4562: warning: signed and unsigned type in conditional expression
> regex.c:4562: warning: signed and unsigned type in conditional expression
>
> addmul_1.asm: 220: warning, simulating cmov with jump, use for testing only
> addmul_1.asm: 221: warning, simulating cmov with jump, use for testing only
>
> submul_1.asm: 220: warning, simulating cmov with jump, use for testing only
> submul_1.asm: 221: warning, simulating cmov with jump, use for testing only
>
> mod_1.asm: 142: warning, simulating cmov with jump, use for testing only
> mod_1.asm: 217: warning, simulating cmov with jump, use for testing only
> mod_1.asm: 282: warning, simulating cmov with jump, use for testing only
>
> sqr_basecase.asm: 439: warning, simulating cmov with jump, use for testing
> only
> sqr_basecase.asm: 440: warning, simulating cmov with jump, use for testing
> only
>
> gcc -c -Wall -fsigned-char -pipe -pg -O3 -I/u/boyer/15772tmp/gcl/o -I../h
> -I../gcl-tk file.c
> file.d: In function `make_stream_from_fd':
> file.d:2090: warning: `mode' might be used uninitialized in this function
> file.d: In function `stream_to_handle':
> file.d:2059: warning: `f' might be used uninitialized in this function
>
> gcc -c -Wall -fsigned-char -pipe -pg -O3 -I/u/boyer/15772tmp/gcl/o -I../h
> -I../gcl-tk read.c
> read.d: In function `Lleft_parenthesis_reader':
> read.d:681: warning: `c' might be used uninitialized in this function
>
> gcc -c -Wall -fsigned-char -pipe -pg -O3 -I/u/boyer/15772tmp/gcl/o -I../h
> -I../gcl-tk fat_string.c
> fat_string.c: In function `fSprofile':
> fat_string.c:53: warning: null argument where non-null required (arg 1)
>
> gcc -c -Wall -fsigned-char -pipe -pg -O3 -I/u/boyer/15772tmp/gcl/o -I../h
> -I../gcl-tk run_process.c
> run_process.c: In function `fSwrite_pointer_object':
> run_process.c:666: warning: comparison between pointer and integer
>
> gcc -c -Wall -fsigned-char -pipe -pg -O3 -I/u/boyer/15772tmp/gcl/o -I../h
> -I../gcl-tk usig.c
> usig.c: In function `unblock_signals':
> usig.c:93: warning: `sigblock' is deprecated (declared at
> /usr/include/signal.h:181)
> usig.c:93: warning: `sigsetmask' is deprecated (declared at
> /usr/include/signal.h:184)
>
> ; (DEFUN MAKE-T-TYPE ...) is being compiled.
> ;; Warning: The type of the form N is not T, but NIL.
> Warning: not replacing s-data property
>
> ; (DEFUN ROOM ...) is being compiled.
> ;; Warning: The variable X is not used.
>
> ;; Compiling gcl_debug.lsp.
> Warning: The declaration specifier T is unknown.
>
> ;; Compiling gcl_cmpeval.lsp.
> ; (DEFUN POSSIBLE-EQ-SEQUENCE-SEARCH ...) is being compiled.
> ;; Warning: The variable START is not used.
> ;; Warning: The variable END is not used.
> ;; Warning: The variable TESTP is not used.
> ; (DEFMACRO MAP-INTO-COMPILER-MACRO ...) is being compiled.
> ;; Warning: The variable W is not used.
> In file included from gcl_cmpeval.c:3:
> gcl_cmpeval.h:453: error: `LI6__C1LOAD_TIME_VALUE__cmpeval' undeclared here
> (not in a function)
> gcl_cmpeval.h:453: error: initializer element is not constant
> gcl_cmpeval.h:453: error: (near initialization for `VVi[5]')
> gcl_cmpeval.h:56: warning:
> `LI6__C1LOAD_TIME_VALUE__iler2_s$$$s$$$s$$$s$$$a$$$s$$$s$$$s$$$s$$$s$$$s'
> declared `static' but never defined
> gcl_cmpeval.c:257: warning: `LI6__C1LOAD_TIME_VALUE__cmpeval' defined but not
> used
>
> ;; Compiling gcl_cmplet.lsp.
> ; (DEFUN C1STACK-LET ...) is being compiled.
> ;; Warning: Type mismatch was found in (THE BOOLEAN
> (SETQ VAL
> (LIST 'CONS (SECOND VAL) NIL))).
> ;; Warning: Type mismatch was found in (THE BOOLEAN
> (SETQ VAL
> (LIST 'CONS (SECOND VAL) NIL))).
>
> ;; Compiling gcl_cmptop.lsp.
> ; (DEFUN T2DEFUN ...) is being compiled.
> ;; Warning: The type of the form CFUN is not FIXNUM, but (NOT NUMBER).
> ; (DEFUN T3DEFUN-VARARG ...) is being compiled.
> ;; Warning: The variable V is not used.
> ;; Warning: The variable V is not used.
>
> ;; Compiling gcl_cmptype.lsp.
> ; (DEFUN LOG-PROPAGATOR ...) is being compiled.
> ;; Warning: The variable F is not used.
> ; (DEFUN CDR-PROPAGATOR ...) is being compiled.
> ;; Warning: The variable F is not used.
> ; (DEFUN MOD-PROPAGATOR ...) is being compiled.
> ;; Warning: The variable F is not used.
> ;; Warning: The variable T1 is not used.
> ; (DEFUN RANDOM-PROPAGATOR ...) is being compiled.
> ;; Warning: The variable T2 is not used.
> ; (DEFUN ABS-PROPAGATOR ...) is being compiled.
> ;; Warning: The variable F is not used.
>
> touch raw_gcl_map
> gcc -o raw_gcl \
> -L. -Wl,-Map raw_gcl_map -lgcl -pg -lreadline -lncurses -lm -lc
> -lgclp
> ./libgcl.a(sys_gcl.o): In function `gcl_init_system':
> sys_gcl.c:(.text+0x4410): undefined reference to `init_gcl_cmpeval'
> collect2: ld returned 1 exit status
> make[1]: *** [raw_gcl] Error 1
> rm init_gcl.lsp.tmp raw_gcl_map
> make: *** [unixport/saved_gcl] Error 2
> ../gcl/bin/gcl: Command not found.
> ./saved_nqthm_gprof: Command not found.
>
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gcl-devel] Re: gprof broken? Please try to get rid of GCL configure and make warnings!,
Camm Maguire <=