This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/37079] cannot find -lgcc_s



------- Comment #2 from jay dot krell at cornell dot edu  2008-08-14 12:05 -------
wrong workaround before, actual:

def WorkaroundUnableToFindSparc64LibGcc():
#
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37079
# ld: cannot find -lgcc_s
# collect2: ld returned 1 exit status
# make[4]: *** [libstdc++.la] Error 1
# make[4]: Leaving directory
/obj/gcc.1/sparc64-sun-solaris2.10/sparc64-sun-solaris2.10/sparc64-sun-solaris2.10/libstdc++-v3/src
#
# -disable-shared is probably also a good workaround here
#
    PatchName = "inability to find sparc64 libgcc.so"
    print("patching install " + PatchName)
    Directory = Prefix + "/lib/gcc/sparc64-sun-solaris2.10/" + GccVersion
    Run(".", "mkdir -p " + Directory)
    Run(Directory, "-ln -s sparcv9/libgcc_s.so libgcc_s.so")
    Run(Directory, "-ln -s sparcv9/libgcc_s.so.1 libgcc_s.so.1")
    print("done patching " + PatchName)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37079


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]