www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 4619] New: Can't link with std.intrinsic function(s)

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

           Summary: Can't link with std.intrinsic function(s)
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Phobos
        AssignedTo: nobody puremagic.com
        ReportedBy: ingenu libertysurf.fr


--- Comment #0 from Rodéric Vicaire <ingenu libertysurf.fr> 2010-08-11 02:58:01
PDT ---
With DMD2.047 & DMD2.048 when I import std.intrinsic and try to use bsr(...) ,
I get the following OptLink error:
" Error 42: Symbol Undefined _D3std9intrinsic12__ModuleInfoZ"

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 11 2010
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4619


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |clugdbug yahoo.com.au


--- Comment #1 from Don <clugdbug yahoo.com.au> 2010-08-11 04:46:05 PDT ---
Please post a complete example. I cannot reproduce it on Win32.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 11 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4619



--- Comment #2 from Rodéric Vicaire <ingenu libertysurf.fr> 2010-08-12 07:37:29
PDT ---
(In reply to comment #1)
 Please post a complete example. I cannot reproduce it on Win32.
Here it is (DMD2.047 or DMD2.048 on Windows): " module main; import std.intrinsic; void main( char[][] args ) { int res = bsr( 2 ); } " Error message: " OPTLINK (R) for Win32 Release 8.00.2 Copyright (C) Digital Mars 1989-2009 All rights reserved. http://www.digitalmars.com/ctg/optlink.html Debug\FlExtEngine.obj(FlExtEngine) Error 42: Symbol Undefined _D3std9intrinsic12__ModuleInfoZ --- errorlevel 1 Building Debug\FlExtEngine.exe failed! " -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Aug 12 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4619


bearophile_hugs eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs eml.cc


--- Comment #3 from bearophile_hugs eml.cc 2010-08-12 07:44:55 PDT ---
It works for me with dmd 2.048 on Windows.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 12 2010
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4619



--- Comment #4 from Rodéric Vicaire <ingenu libertysurf.fr> 2010-08-13 04:35:20
PDT ---
Ok I did create a fresh project and it does work too, I still get that problem
in the old one, I'm not sure whether it's worth investigating...
Can anyone tell me ?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Aug 13 2010
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=4619


Don <clugdbug yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


--- Comment #5 from Don <clugdbug yahoo.com.au> 2010-08-13 04:43:41 PDT ---
Maybe you were linking with the wrong library version?

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