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

Skip as and ld when wrapping gcc #186

Closed
hemarkus opened this Issue Feb 20, 2019 · 0 comments

Comments

2 participants
@hemarkus
Copy link
Collaborator

hemarkus commented Feb 20, 2019

When gcc is being wrapped as and ld should not be wrapped as those will introduce ambiguous information.

E.g. wrapping gcc s.c will produce a file s.o connected with a file s.c. But since gcc is actually only calling cc, as and ld we will intercept the call to as and a file /tmp/somerandom.s will be created as the source of s.o.

Therefore introduce an environment variable to when gcc wrapping is in progress and skip information retrieval and sending in the as wrapper when this environment variable is present.

@hemarkus hemarkus added this to the Sprint 4.2 milestone Feb 20, 2019

@hemarkus hemarkus added this to To do in Quartermaster via automation Feb 20, 2019

@hemarkus hemarkus changed the title Skip as and ld if when wrapping gcc Skip as and ld when wrapping gcc Feb 28, 2019

@GiasemiSh GiasemiSh self-assigned this Mar 1, 2019

@GiasemiSh GiasemiSh moved this from To do to In progress in Quartermaster Mar 1, 2019

@GiasemiSh GiasemiSh moved this from In progress to Needs review in Quartermaster Mar 4, 2019

@hemarkus hemarkus moved this from Needs review to Reviewer approved in Quartermaster Mar 4, 2019

@hemarkus hemarkus moved this from Reviewer approved to Done in Quartermaster Mar 5, 2019

@hemarkus hemarkus closed this Mar 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.