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

Submitter:  Sergei Golovin <svg>
Submitted:  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
* Mandatory Fields

Add a New Comment Rich Markup

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:

Attached Files
file #52740:  Cynthiune-1.0.0_Bundles_ALSA_fails_to_build_due_to_memcheck_inclusion.patch added by svg (412B - text/x-patch - updated the patch to be more convenient for applying)


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)

    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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-26 svg Attached File- Added Cynthiune-1.0.0_Bundles_ALSA_fails_to_build_due_to_memcheck_inclusion.patch, #52740
    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.13-b921.
    Corresponding source code