www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6010] New: -fPIC is broken on freebsd/64

reply d-bugmail puremagic.com writes:
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



---
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: -------
May 15 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6010


Martin Nowak <code dawg.eu> changed:

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



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: -------
Mar 14 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6010




---
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: -------
Mar 14 2013