Open Bug 1062456 Opened 10 years ago Updated 2 years ago

ipc/chromium/src/base/condition_variable_posix.cc:25:52: error: 'pthread_condattr_setclock' was not declared in this scope

Categories

(Core :: IPC, defect, P5)

All
NetBSD
defect

Tracking

()

People

(Reporter: jbeich, Unassigned)

References

()

Details

Attachments

(2 files)

NetBSD doesn't provide pthread_condattr_setclock() before 6.1-RELEASE.

ipc/chromium/src/base/condition_variable_posix.cc:
 In constructor 'ConditionVariable::ConditionVariable(Lock*)':
ipc/chromium/src/base/condition_variable_posix.cc:25:52:
 error: 'pthread_condattr_setclock' was not declared in this scope
config/rules.mk:1001: recipe for target 
'condition_variable_posix.o' failed

http://mail-index.netbsd.org/pkgsrc-users/2014/07/11/msg020018.html
Comment on attachment 8483731 [details] [diff] [review]
autodisable during configure

This uses CLOCK_REALTIME unlike gettimeofday upstream.
Attachment #8483731 - Attachment description: Don't use pthread_condattr_setclock in IPC if it's not available. → autodisable during configure
Attached patch ditto for webrtcSplinter Review
Can someone on NetBSD 5.x or 6.0.x verify the fix? And, to know the impact, how long those NetBSD branches are going to be supported?
I'm not running 5.x or 6.x.

About branch support: 5.x will be supported until 7.x comes out (hopefully 2015) and 6.x until 8.x comes out (can't say when that'll be, but a couple years at least).
See Also: → 1271041
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: