[Issue 15291] New: the example code can be compiled and run on my laptop but not on my workstation

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Nov 5 04:45:57 PST 2015


https://issues.dlang.org/show_bug.cgi?id=15291

          Issue ID: 15291
           Summary: the example code can be compiled and run on my laptop
                    but not on my workstation
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/phobos/
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: ronald.nie at gmail.com

Please see the following dump from the compiler. Thank you very much.

 dmd test.d -v
binary    C:\D\dmd2\windows\bin\dmd.exe
version   v2.069.0
config    C:\D\dmd2\windows\bin\sc.ini
parse     test
importall test
import    object       
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\object.d)
import    std.algorithm
(C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\package.d)
import    std.algorithm.comparison     
(C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\comparison.d)
import    std.functional       
(C:\D\dmd2\windows\bin\..\..\src\phobos\std\functional.d)
import    std.traits    (C:\D\dmd2\windows\bin\..\..\src\phobos\std\traits.d)
import    std.typetuple
(C:\D\dmd2\windows\bin\..\..\src\phobos\std\typetuple.d)
import    std.meta      (C:\D\dmd2\windows\bin\..\..\src\phobos\std\meta.d)
import    std.range    
(C:\D\dmd2\windows\bin\..\..\src\phobos\std\range\package.d)
import    std.range.primitives 
(C:\D\dmd2\windows\bin\..\..\src\phobos\std\range\primitives.d)
import    std.range.interfaces 
(C:\D\dmd2\windows\bin\..\..\src\phobos\std\range\interfaces.d)
import    std.array     (C:\D\dmd2\windows\bin\..\..\src\phobos\std\array.d)
import    std.typecons  (C:\D\dmd2\windows\bin\..\..\src\phobos\std\typecons.d)
import    std.algorithm.iteration      
(C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\iteration.d)
import    std.algorithm.mutation       
(C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\mutation.d)
import    std.algorithm.setops 
(C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\setops.d)
import    std.algorithm.sorting
(C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\sorting.d)
import    std.algorithm.searching      
(C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\searching.d)
import    std.parallelism      
(C:\D\dmd2\windows\bin\..\..\src\phobos\std\parallelism.d)
import    core.atomic  
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\atomic.d)
import    core.exception       
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\exception.d)
import    core.memory  
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\memory.d)
import    core.sync.condition  
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\sync\condition.di)
import    core.sync.exception  
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\sync\exception.di)
import    core.sync.mutex      
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\sync\mutex.di)
import    core.sys.windows.windows     
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\sys\windows\windows.d)
import    core.time    
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\time.d)
import    core.stdc.time       
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\stdc\time.d)
import    core.stdc.config     
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\stdc\config.d)
import    core.stdc.stdio      
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\stdc\stdio.d)
import    core.stdc.stdarg     
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\stdc\stdarg.d)
import    core.stdc.stdint     
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\stdc\stdint.d)
import    core.stdc.stddef     
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\stdc\stddef.d)
import    core.stdc.signal     
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\stdc\signal.d)
import    core.stdc.wchar_     
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\stdc\wchar_.d)
import    core.internal.traits 
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\internal\traits.d)
import    core.internal.string 
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\internal\string.d)
import    core.sync.semaphore  
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\sync\semaphore.di)
import    core.thread  
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\thread.d)
import    core.stdc.stdlib     
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\stdc\stdlib.d)
import    core.sys.windows.threadaux   
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\sys\windows\threadaux.d)
import    std.conv      (C:\D\dmd2\windows\bin\..\..\src\phobos\std\conv.d)
import    std.ascii     (C:\D\dmd2\windows\bin\..\..\src\phobos\std\ascii.d)
import    std.exception
(C:\D\dmd2\windows\bin\..\..\src\phobos\std\exception.d)
import    core.stdc.errno      
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\stdc\errno.d)
import    core.stdc.string     
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\stdc\string.d)
import    std.math      (C:\D\dmd2\windows\bin\..\..\src\phobos\std\math.d)
import    core.math    
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\math.d)
import    core.stdc.math       
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\stdc\math.d)
import    core.bitop   
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\bitop.d)
semantic  test
import    core.demangle
(C:\D\dmd2\windows\bin\..\..\src\druntime\import\core\demangle.d)
entry     main          test.d
semantic2 test
semantic3 test
import    std.algorithm.internal       
(C:\D\dmd2\windows\bin\..\..\src\phobos\std\algorithm\internal.d)
code      test
function  D main
function  test.main.getTerm
function  std.range.iota!(immutable(int)).iota
function  std.range.iota!(immutable(int), immutable(int)).iota
function  std.range.iota!(immutable(int), immutable(int)).iota.Result.this
function  std.range.iota!(immutable(int), immutable(int)).iota.Result.empty
function  std.range.iota!(immutable(int), immutable(int)).iota.Result.front
function  std.range.iota!(immutable(int), immutable(int)).iota.Result.popFront
function  std.range.iota!(immutable(int), immutable(int)).iota.Result.back
function  std.range.iota!(immutable(int), immutable(int)).iota.Result.popBack
function  std.range.iota!(immutable(int), immutable(int)).iota.Result.save
function  std.range.iota!(immutable(int), immutable(int)).iota.Result.opIndex
function  std.range.iota!(immutable(int), immutable(int)).iota.Result.opSlice
function  std.range.iota!(immutable(int), immutable(int)).iota.Result.opSlice
function  std.range.iota!(immutable(int), immutable(int)).iota.Result.length
function  std.conv.unsigned!(immutable(int)).unsigned
function  std.conv.unsigned!(const(int)).unsigned
function  test.main.map!(getTerm).map!(Result).map
function  test.main.MapResult!(getTerm, Result).MapResult.this
function  test.main.MapResult!(getTerm, Result).MapResult.empty
function  test.main.MapResult!(getTerm, Result).MapResult.popFront
function  test.main.MapResult!(getTerm, Result).MapResult.front
function  test.main.MapResult!(getTerm, Result).MapResult.opIndex
function  test.main.MapResult!(getTerm, Result).MapResult.length
function  test.main.MapResult!(getTerm, Result).MapResult.opSlice
function  test.main.MapResult!(getTerm, Result).MapResult.save
function  std.parallelism.TaskPool.reduce!"a + b".reduce!(MapResult!(getTerm,
Result)).reduce
C:\D\dmd2\windows\bin\..\..\src\phobos\std\parallelism.d(2628): Error: function
std.parallelism.TaskPool.reduce!"a + b".reduce!(MapResult!(getTerm,
Result)).reduce cannot get frame pointer to D main

--


More information about the Digitalmars-d-bugs mailing list