bugMIT/GNU Scheme - Bugs: bug #60147, Doesn't compile by default with...


bug #60147: Doesn't compile by default with gcc10; needs -fcommon

Submitter:  None
Submitted:  Mon 01 Mar 2021 05:48:06 AM UTC
Category:  compiler Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Suboptimal behavior
Status:  Works For Me Privacy:  Public
Assigned to:  cph Originator Name:  AJ Williams
Originator Email:  -email is unavailable- Open/Closed:  Closed
* Mandatory Fields

Add a New Comment (Rich Markup)

Tue 06 Sep 2022 02:09:47 AM UTC, comment #2: 

This appears to work, and has been tested using gcc-11 as well.

Chris Hanson <cph>
Group administrator
Fri 05 Mar 2021 09:45:37 PM UTC, comment #1: 

I just tried compiling with gcc-10 and everything worked without errors. Please provide the compiler's output so I can see what's going on. Also, please let me know what operating system and architecture you're using, as well as the output from gcc --version.

Here's the gcc I'm using (on Ubuntu 20.04, x86-64):
gcc-10 (Ubuntu 10.2.0-5ubuntu1~20.04) 10.2.0

Chris Hanson <cph>
Group administrator
Mon 01 Mar 2021 05:48:06 AM UTC, original submission:  

When trying to compile with gcc10, compilation fails. It seems this is because gcc10 uses -fno-common by default, since enable -fcommon fixes the problem. It would be nice to make the code support -fno-common so that it could be compiled by default with gcc10.



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

Attach Files:

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 riastradh (Updated the item)
  • -email is unavailable- added by cph (Posted a comment)
  • -email is unavailable- added by None (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.





    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-09-06 cph StatusNeed Info Works For Me
        Open/ClosedOpen Closed
    2022-06-10 riastradh StatusNone Need Info
    2021-03-05 cph Assigned toNone cph

    Back to the top

    Powered by Savane 3.11