Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang hangs when compiling using optimisation flag -Os #2935

Open
rupertdaniel opened this issue Dec 6, 2019 · 2 comments
Open

clang hangs when compiling using optimisation flag -Os #2935

rupertdaniel opened this issue Dec 6, 2019 · 2 comments

Comments

@rupertdaniel
Copy link

Using the latest pre-release 0.2.180221-dev-20180516000001 there is an issue with clang hanging when building some files using the optimisation flag -Os.

I've been able to reproduce the issue with the following code:

id block = ^(NSString *collection, NSString *key, NSData *data) {
	id object = nil;
	
	@try {
		object = [NSKeyedUnarchiver unarchiveObjectWithData:data];
	} @catch (NSException *exception) {
	}
};
@DHowett-MSFT
Copy link

It looks like this hang is fixed with Clang 9, at least, which is likely only cold comfort 😄

@edvv
Copy link

edvv commented Dec 6, 2019

On the plus side, if winobjc is updated to the latest dependent releases (and if #2719 was fixed) then that would be a massive improvement!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants