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

/whisper.cpp/whisper.cpp:2305:17: internal compiler error: in reshape_init_class, at cp/decl.c:6465 #62

Closed
cornpo opened this issue Oct 18, 2022 · 2 comments
Labels
build Build related issues

Comments

@cornpo
Copy link

cornpo commented Oct 18, 2022

Fully stumped. Only did make. cpp (Ubuntu 11.2.0-19ubuntu1) 11.2.0

whisper.cpp: In function ‘whisper_full_params whisper_full_default_params(whisper_decode_strategy)’: whisper.cpp:2305:17: internal compiler error: in reshape_init_class, at cp/decl.c:6465 2305 | }; | ^ 0x7f415aaa6d8f __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 0x7f415aaa6e3f __libc_start_main_impl ../csu/libc-start.c:392 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <file:///usr/share/doc/gcc-11/README.Bugs> for instructions.

ggerganov added a commit that referenced this issue Oct 18, 2022
For some reason, new version of GCC panic when the struct type is not
specified explicitly
@ggerganov ggerganov added the build Build related issues label Oct 18, 2022
@ggerganov
Copy link
Owner

Looks like a compiler bug. Just pushed a workaround - give it a try

ggerganov added a commit that referenced this issue Oct 18, 2022
…lizers

We are not ready for designated initializers - many compilers do not
support this C++ feature yet, so removing it's non-trivial usages.
@cornpo
Copy link
Author

cornpo commented Oct 18, 2022

It compiles now. Thanks alot!

@cornpo cornpo closed this as completed Oct 18, 2022
anandijain pushed a commit to anandijain/whisper.cpp that referenced this issue Apr 28, 2023
For some reason, new version of GCC panic when the struct type is not
specified explicitly
anandijain pushed a commit to anandijain/whisper.cpp that referenced this issue Apr 28, 2023
… + remove designated initializers

We are not ready for designated initializers - many compilers do not
support this C++ feature yet, so removing it's non-trivial usages.
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this issue Oct 24, 2023
For some reason, new version of GCC panic when the struct type is not
specified explicitly
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this issue Oct 24, 2023
… + remove designated initializers

We are not ready for designated initializers - many compilers do not
support this C++ feature yet, so removing it's non-trivial usages.
kultivator-consulting pushed a commit to KultivatorConsulting/whisper.cpp that referenced this issue Feb 12, 2024
Use position independent code (-fPIC)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build related issues
Projects
None yet
Development

No branches or pull requests

2 participants