bugMIT/GNU Scheme - Bugs: bug #40152, mit-scheme-c-9.1.1 bootstrap fails...

 
 

bug #40152: mit-scheme-c-9.1.1 bootstrap fails when libxcb (and probably others) are missing

Submitted by:  George Skabinsky <gska>
Submitted on:  Mon 30 Sep 2013 09:48:08 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: Open
Keywords: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 03 Oct 2013 10:32:15 PM UTC, comment #2:

The problem is not that MIT Scheme uses libxcb and it is missing. The problem is threefold:

1. The bootstrap build tries to link against X11 needlessly.
2. The build fails late during make, not early during configure, when linking against libX11 fails.
3. Using -lX11 brought in a static libX11.a, which is probably not the right thing -- although I don't know in this case.

On an ELF system and perhaps others, if you link against a static libX11.a, when libX11 normally depends on libxcb, then the normal recursive shared library dependency mechanism of ELF doesn't kick in because the libraries are static. Instead, if you want to link with -lX11, you must also pass -lxcb and similar for every library libX11 depends on itself.

Taylor R. Campbell <riastradh>
Project Member
Thu 03 Oct 2013 07:08:03 PM UTC, comment #1:

I cannot find any mention of a libxcb in the source code. ?

The configure script might have enabled an X11 "plugin" (microcode module), but I'm not sure how that would get libxcb involved. You are building on a YoYoDyne Quantum Core for the 8thDimension desktop?

Matt Birkholz <mhb>
Project Member
Mon 30 Sep 2013 09:48:08 PM UTC, original submission:

... after a build time of over an hour.

ideally, building a command line compiler should not involve any X11 libraries at all - so i assume it's only used for some plugin or code library.

the configure script should check if those optional dependencies exist, and if not exclude the code using them from the build process.

if they're not optional, an error message at configure time is appropriate.

George Skabinsky <gska>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by riastradh (Posted a comment)
  • -unavailable- added by mhb (Posted a comment)
  • -unavailable- added by mhb
  • -unavailable- added by gska (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 03 Oct 2013 07:08:03 PM UTCmhbCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup