Closed Bug 735561 Opened 14 years ago Closed 13 years ago

Bugs in webrtc drop gyp files exposed by building on linux builders

Categories

(Core :: WebRTC, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jesup, Unassigned)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

Two bugs in webrtc's latest drop: 1) ISOC99 needs to be set for C files (it is already for Mac/Xcode) 2) the expat include library path in libjingle was wrong and it would pick up system expat includes.
Attachment #605643 - Flags: feedback?(ted.mielczarek)
Attachment #605643 - Flags: feedback?(tterribe)
Comment on attachment 605643 [details] [diff] [review] Fix two bugs in webrtc gyp files Review of attachment 605643 [details] [diff] [review]: ----------------------------------------------------------------- f+ with one nit. ::: media/webrtc/trunk/build/common.gypi @@ +1073,5 @@ > 'defines': ['_GLIBCXX_DEBUG=1',], > 'cflags_cc!': ['-fno-rtti'], > 'cflags_cc+': ['-frtti', '-g'], > }], > + ['OS=="linux"', { You should probably add a comment saying why this is needed.
Attachment #605643 - Flags: feedback?(tterribe) → feedback+
Comment on attachment 605643 [details] [diff] [review] Fix two bugs in webrtc gyp files Review of attachment 605643 [details] [diff] [review]: ----------------------------------------------------------------- ::: media/webrtc/trunk/build/common.gypi @@ +1074,5 @@ > 'cflags_cc!': ['-fno-rtti'], > 'cflags_cc+': ['-frtti', '-g'], > }], > + ['OS=="linux"', { > + 'defines': ['_ISOC99_SOURCE=1'], I would feel better if we had any idea why this was needed, but I can deal with it. ::: media/webrtc/trunk/third_party/libjingle/libjingle.gyp @@ +118,5 @@ > 'include_dirs': [ > '<(overrides)', > 'source', > '../..', # the third_party folder for webrtc includes > + '../../third_party/expat/files/lib', Did this get shuffled around in the source?
Attachment #605643 - Flags: feedback?(ted.mielczarek) → feedback+
C99 is needed so get get lrint() on the builders; the gyp files specify C99 for Mac but not for linux (and it appears to default to C99, or at least expose lrint(), for most of our desktop linux machines). I haven't checked if the expat files moved; it doesn't really matter. That's where they are now.
Blocks: 688178
No longer blocks: 668178
QA Contact: jsmith
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: