-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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] --entry command line option is broken #68355
Comments
@llvm/issue-subscribers-clang-driver
Optoion '--entry' ('--entry=') should be forwarded to linker the same way as its aliasee '-e' is forwarded. Currently, it complains about unsupported option.
```
clang test.c --entry=my_start
clang: error: unsupported option '--entry=my_start'
```
Apparently, the option is declared as a flag, i.e. clang accepts this, but linker non-surprisingly fails:
Reference: |
@llvm/issue-subscribers-good-first-issue
Optoion '--entry' ('--entry=') should be forwarded to linker the same way as its aliasee '-e' is forwarded. Currently, it complains about unsupported option.
```
clang test.c --entry=my_start
clang: error: unsupported option '--entry=my_start'
```
Apparently, the option is declared as a flag, i.e. clang accepts this, but linker non-surprisingly fails:
Reference: |
Hey can you assign me this ?? I guess i can solve it |
Sure, although I think you can to do it yourself. |
Hey , if possible can we connect on discord or somethin ? |
Hey, I think I've got this working. Will PR soon. |
Can't seem to assign myself. |
Optoion '--entry' ('--entry=') should be forwarded to linker the same way as its aliasee '-e' is forwarded. Currently, it complains about unsupported option.
Apparently, the option is declared as a flag, i.e. clang accepts this, but linker non-surprisingly fails:
Reference:
https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html#index-e
The text was updated successfully, but these errors were encountered: