Thread overview
[Issue 6010] New: -fPIC is broken on freebsd/64
May 15, 2011
Brad Roberts
Mar 14, 2013
Martin Nowak
Mar 14, 2013
Brad Roberts
May 15, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6010

           Summary: -fPIC is broken on freebsd/64
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: FreeBSD
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: braddr@puremagic.com


--- Comment #0 from Brad Roberts <braddr@puremagic.com> 2011-05-15 12:55:03 PDT ---
All -fPIC testing is currently disabled on freebsd since it's somewhat broken.

dmd/test/d_do_test.d:

    // win32 doesn't support pic, nor does freebsd/64 currently
    if (envData.os == "win32" || envData.os == "freebsd")
    {
        auto index = std.string.indexOf(testArgs.permuteArgs, "-fPIC");
        if (index != -1)
            testArgs.permuteArgs = testArgs.permuteArgs[0 .. index] ~
testArgs.permuteArgs[index+5 .. $];
    }

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 14, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6010


Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@dawg.eu


--- Comment #1 from Martin Nowak <code@dawg.eu> 2013-03-14 13:44:49 PDT ---
Does this still hold true?
I don't think that FreeBSD64 is different from linux.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 14, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6010



--- Comment #2 from Brad Roberts <braddr@puremagic.com> 2013-03-14 15:23:49 PDT ---
As far as I know, no one has done anything to fix it, though it's not impossible that I missed some important changes.

Easy enough to test.. find the code below in d_do_test.d, disable it, and run the tests.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------