Closed Bug 447558 Opened 16 years ago Closed 16 years ago

xhydra: changeset cfa2d45b2148 broke mac port

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: vladimir.sukhoy, Unassigned)

References

Details

Attachments

(2 files)

After changeset cfa2d45b2148 in xhydra repository, the mac port is broken. Not sure what happened there.
by "broke" do you mean it doesn't build, or doesn't work? Can you paste the error messages?
Attached patch fixSplinter Review
Looks like this is the reason why it broke.
Attachment #330878 - Flags: review?(tglek)
Treehydra doesn't build and produces the following error: 

cc1plus: warning: command line option "-fnested-functions" is valid for C/ObjC but not for C++
Dehydra didn't find required types needed to generate Treehydra
cc1plus: warning: command line option "-fnested-functions" is valid for C/ObjC but not for C++
In file included from /Users/sukhoy/Mozilla/gcc-dehydra/gcc_42-5531/obj/src/gcc/system.h:43,
                 from gcc_cp_headers.h:16:
/usr/include/stdio.h: In function ‘int __sputc(int, FILE*)’:
/usr/include/stdio.h:388: internal compiler error: Bus error
Please submit a full bug report,

The unit test suite of dehydra fails and produces the following errors:

$ /Users/sukhoy/Mozilla/gcc-dehydra/gcc_42-5531/obj/obj-i686-i686/gcc/cc1plus -quiet -O1 -ftest-coverage -fplugin=../gcc_dehydra.so -o /dev/null -fplugin-arg=test_copy_ctor.js copy_ctor.cc
copy_ctor.cc: In function ‘int main(int, char**)’:
copy_ctor.cc:22: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.

and

$ /Users/sukhoy/Mozilla/gcc-dehydra/gcc_42-5531/obj/obj-i686-i686/gcc/cc1plus -quiet -O1 -ftest-coverage -fplugin=../gcc_dehydra.so -o /dev/null -fplugin-arg=test_using_namespace.js using_namespace.cc
using_namespace.cc: In function ‘void f()’:
using_namespace.cc:5: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.

Having the above patch applied, these errors no longer happen.
This appears to be mis-indented.
Please see this attachment for error messages with better indentation.
Comment on attachment 330878 [details] [diff] [review]
fix

Oops. I thought these resolve to the same thing
Attachment #330878 - Flags: review?(tglek) → review+
Pushed.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: