www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12054] New: PATH env. var longer than 1022 characters breaks OPTLINK search path

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12054

           Summary: PATH env. var longer than 1022 characters breaks
                    OPTLINK search path
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: link-failure
          Severity: normal
          Priority: P2
         Component: Optlink
        AssignedTo: nobody puremagic.com
        ReportedBy: thecybershadow gmail.com



06:47:29 EET ---
If the system PATH variable is longer than 1022 characters, OPTLINK will fail
to find phobos.lib and link D programs.

My guess is that the PATH variable contents is clobbering the LIB variable's,
which happens to be adjacent in memory.

It's possible that the order of variables within the environment block also
matters.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 31 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12054


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich gmail.com



06:18:09 PST ---
Could also be that there's a + or something in PATH (e.g. when GTK+ Runtime is
installed). See Issue 4831.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 01 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12054




20:39:10 EET ---
I don't think so. The problem manifests if the PATH is over 1022 characters,
but not when it's exactly 1022 characters long. The number is very close 1024,
which I doubt is a coincidence.

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