patchGNU Libtool - Patches: patch #9361, libtool.m4: preload valid C symbol...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9361: libtool.m4: preload valid C symbol names only

Submitted by:  Michael Haubenwallner <haubi>
Submitted on:  Fri 26 May 2017 06:30:24 PM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Fri 26 May 2017 06:30:24 PM UTC, original submission:

Hi,

the current $global_symbol_pipe for 'MS dumpbin' yields symbol names starting with @ or ? on purpose.

As these symbol names are not valid C symbol names, this breaks following test cases with 64bit MSVC compiler, and even with 32bit since MSVC 14 (=VS 2015):

27: link against a preloaded static library
28: build and dynamically load a module
29: preload static and dynamic module
31: disable fast install
32: force PIC objects
34: hardcoding library path
36: uninstalled libraries have priority
37: linking with long file names

Attached patches does fix these test cases for 64bit MSVC (tested 10.0, 12.0, 14.0, 15.0) as well as for 32bit MSVC 14.0 and 15.0 (=VS 2017), in that it does accept only valid C symbol names for ltdl preloading.

Thanks!
/haubi/

Michael Haubenwallner <haubi>

 

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by haubi (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
    Fri 26 May 2017 06:30:24 PM UTChaubiAttached File-=>Added 0001-libtool.m4-preload-valid-C-symbol-names-only.patch, #40796

    Back to the top


    Powered by Savane 3.1-cleanup1