www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2901] New: link error v2.029 (linux): undefined reference to `CLOCKS_PER_SEC'

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

           Summary: link error v2.029 (linux): undefined reference to
                    `CLOCKS_PER_SEC'
           Product: D
           Version: 2.029
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: someanon yahoo.com


I have a link error with v2.029 (linux): 
undefined reference to `CLOCKS_PER_SEC'

and under dmd dir:

$ nm ./linux/lib/libdruntime.a | grep CLOCKS_PER_SEC
$ nm ./linux/lib/libphobos2.a | grep CLOCKS_PER_SEC

shows nothing, is the object file not archived in the library?


-- 
Apr 25 2009
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2901


Andrei Alexandrescu <andrei metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei metalanguage.com
         AssignedTo|nobody puremagic.com        |andrei metalanguage.com


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


Lars T. Kyllingstad <bugzilla kyllingen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
                 CC|                            |bugzilla kyllingen.net
         Resolution|                            |INVALID


--- Comment #1 from Lars T. Kyllingstad <bugzilla kyllingen.net> 2010-08-13
02:06:56 PDT ---
I don't think this is a valid bug, at least not anymore.  Phobos contains no
symbol with the name CLOCKS_PER_SEC, and there is no test case in this report.

If necessary, reopen with a test case.

-- 
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=2901



--- Comment #2 from Lars T. Kyllingstad <bugzilla kyllingen.net> 2010-08-13
02:08:20 PDT ---
My bad, there is of course a CLOCKS_PER_SEC in druntime.  Still, without a test
case, it's hard to do anything about this.

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