D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 2901 - link error v2.029 (linux): undefined reference to `CLOCKS_PER_SEC'
Summary: link error v2.029 (linux): undefined reference to `CLOCKS_PER_SEC'
Status: RESOLVED INVALID
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: x86 Linux
: P2 normal
Assignee: Andrei Alexandrescu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-25 16:06 UTC by sa
Modified: 2015-06-09 01:26 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description sa 2009-04-25 16:06:55 UTC
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?
Comment 1 Lars T. Kyllingstad 2010-08-13 02:06:56 UTC
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.
Comment 2 Lars T. Kyllingstad 2010-08-13 02:08:20 UTC
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.