[Issue 2961] New: some sets of files compiled with (-w -inline -release) cause the linker error /PAGESIZE:16 is too small

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 10 15:35:28 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2961

           Summary: some sets of files compiled with (-w -inline -release)
                    cause the linker error /PAGESIZE:16 is too small
           Product: D
           Version: 2.029
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optlink
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: one_mad_alien at hotmail.com


I'm trying to get my port of the WIN32 headers working with Digital Mars D
Compiler v2.029

(see the dsource project core32)

the minium set I can find to reproduce the issue is

set FLGS=-w -inline -release
dmd %FLGS% -c win32/com/OAIDL.d -I..
..... etc ....

lib -c win32.lib d3d8types.obj d3d8caps.obj dxerr8.obj DOCOBJ.obj OBJIDL.obj
extras.obj MSHTMHST.obj OLEIDL.obj OAIDL.obj EXDISP.obj

Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html

Error: /PAGESIZE:16 is too small

N.B. this only appears with BOTH -release and -inline
-release -O  or -inline -O does not cause the error.

as I'm not too sure what the error means I'm at a bit of a loss to make a small
test file that reproduces the error.

I've not attached any files as they can all be obtained from
svn ci http://svn.dsource.org/projects/core32/trunk/

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


More information about the Digitalmars-d-bugs mailing list