Changeset 25795


Ignore:
Timestamp:
2011-02-28T19:17:02+01:00 (7 years ago)
Author:
nbd
Message:

mklibs: fix some long standing libpthread symbol link issues, mostly related to weak function overrides between libgcc, libc and libpthread

Location:
trunk/tools/mklibs/patches
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/mklibs/patches/009-uclibc_libgcc_link.patch

    r25793 r25795  
    2323             symbols.update(library_symbols_used[library]) 
    2424  
    25 @@ -590,9 +588,11 @@ while 1: 
     25@@ -590,9 +588,10 @@ while 1: 
    2626             cmd.append(pic_file) 
    2727             cmd.extend(extra_post_obj) 
     
    3030             cmd.extend(["-L%s" % a for a in [dest_path] + [sysroot + b for b in lib_path if sysroot == "" or b not in ("/" + libdir + "/", "/usr/" + libdir + "/")]]) 
    3131-            cmd.append(library_depends_gcc_libnames(so_file, soname)) 
    32 +            if soname != "libgcc_s.so.1" and soname != "libc.so.0": 
     32+            if soname != "libgcc_s.so.1": 
    3333+                cmd.append(library_depends_gcc_libnames(so_file, soname)) 
    34 +            if soname != "libgcc_s.so.1": 
    3534+                cmd.append(libgcc_link) 
    3635             command(target + "gcc", *cmd) 
Note: See TracChangeset for help on using the changeset viewer.