bugGNU Common Lisp - Bugs: bug #64627, Can't build GCL on Fedora

 
 

bug #64627: Can't build GCL on Fedora

Submitter:  Blake McBride <blake1024>
Submitted:  Thu 07 Sep 2023 12:59:43 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 28 Jan 2024 02:12:53 PM UTC, comment #2: 

Greetings, and thanks for your report!  Please try the latest release, 2.6.14, and let me know if problems persist.

Camm Maguire <camm>
Group administrator
Thu 07 Sep 2023 01:14:17 AM UTC, comment #1: 

Getting this error with gcl-2.6.9

Blake McBride <blake1024>
Thu 07 Sep 2023 12:59:43 AM UTC, original submission:  

I'm on X86-64 Fedora 38.

Getting the following:

$ ./configure --enable-ansi
[...]
$ make
[...]
make[1]: Entering directory '/home/blake/Backup/gcl/o'
gcc -c -Wall -DVOL=volatile -fsigned-char -Wno-unused-but-set-variable -pipe -O3 -fomit-frame-pointer  -I/home/blake/Backup/gcl/o -I../h -I../gcl-tk main.c 
In file included from main.c:282:
../h/unrandomize.h: In function ‘main’:
../h/unrandomize.h:36:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
   36 |         for (i=0;argv[i];i++);a=malloc((i+1)*sizeof(*argv));for (i=0;argv[i];i++) a[i]=strdup(argv[i]);a[i]=0;
      |         ^~~
../h/unrandomize.h:36:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
   36 |         for (i=0;argv[i];i++);a=malloc((i+1)*sizeof(*argv));for (i=0;argv[i];i++) a[i]=strdup(argv[i]);a[i]=0;
      |                               ^
main.c:442:39: error: storage size of ‘estack’ isn’t known
  442 |             static struct sigaltstack estack;
      |                                       ^~~~~~
main.c:442:39: warning: unused variable ‘estack’ [-Wunused-variable]
In file included from ../h/include.h:111,
                 from main.c:49:
../h/../h/protoize.h: At top level:
../h/../h/protoize.h:6:43: warning: inline function ‘make_cons’ declared but never defined
    6 | /* alloc.c:296:OF / extern inline object make_cons (object a, object d); / (a, d) object a; object d; */
      |                                           ^~~~~~~~~
../h/../h/protoize.h:5:34: warning: inline function ‘add_pages’ declared but never defined
    5 | /* alloc.c:213:OF / inline void add_pages(struct typemanager ,fixnum);
      |                                  ^~~~~~~~~
../h/../h/protoize.h:4:36: warning: inline function ‘alloc_object’ declared but never defined
    4 | /* alloc.c:213:OF / inline object alloc_object (enum type t); / (t) enum type t; */
      |                                    ^~~~~~~~~~~~
../h/../h/protoize.h:2:34: warning: inline function ‘add_page_to_freelist’ declared but never defined
    2 | /* alloc.c:149:OF / inline void add_page_to_freelist (char *p, struct typemanager *tm); / (p, tm) char p; struct typemanager *tm; /
      |                                  ^~~~~~~~~~~~~~~~~~~~
make[1]: * [makefile:26: main.o] Error 1
make[1]: Leaving directory '/home/blake/Backup/gcl/o'
make: * [makefile:70: unixport/saved_pre_gcl] Error 2
[blake@i9-tower gcl]$


Blake McBride <blake1024>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by camm (Posted a comment)
  • -email is unavailable- added by blake1024 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-ec27.
    Corresponding source code