bugGNUstep Application Project - Bugs: bug #61807, [Cyntiune.app] The ALSA bundle...

 
 

bug #61807: [Cyntiune.app] The ALSA bundle doesn't link with debugging enabled due to inclusion -lmcheck

Submitted by:  Sergei Golovin <svg>
Submitted on:  Thu 13 Jan 2022 06:26:21 AM UTC  
 
Category:  Application Severity:  3 - Normal
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Fri 14 Jan 2022 10:43:38 AM UTC, comment #1: 

Still relevant on the current master from the GitHub mirror.

I can only add that I forgot to explicitly state in the previous comment that the error is showed when 'debug=yes'.

Sergei Golovin <svg>
Thu 13 Jan 2022 06:26:21 AM UTC, original submission:  

I can't build Cynthiune with the following linking log message:

>Making all in Bundles/ALSA ...
>Making all for bundle ALSA...
> Creating ALSA.output/....
> Compiling file ALSA.m ...
> Linking bundle ALSA ...
>/usr/bin/ld: ./ALSA.output/./ALSA: version node not found for symbol __malloc_initialize_hook@GLIBC_2.2.5
>/usr/bin/ld: failed to set dynamic section sizes: bad value
>collect2: error: ld returned 1 exit status


I found it is a known issue. https://bugzilla.redhat.com/show_bug.cgi?id=1575110

> It seems to me that the problem here is that the mcheck library is exporting a deprecated symbol, which it
> should not be doing.  The linker is getting confused because the symbol is defined, but there is no
> version information for it.  Rather than invent a version, the linker complains and stops.  To me this
> seems like correct behaviour.


The proposed patch removes -lmcheck

Sergei Golovin <svg>

 

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

Attach Files:
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by svg (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-13 svg Attached File- => Added Cyntiune-1.0.0_Bundles_ALSA_fails_to_build_due_to_memcheck_inclusion.patch, #52656

    Back to the top


    Powered by Savane 3.7