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

ARM: Segmentation fault when compiling tests/function-pointer.c #1

Open
florommel opened this issue Apr 28, 2017 · 0 comments
Open
Assignees

Comments

@florommel
Copy link
Member

Compiling tests/function-pointer.c on ARM causes an internal compiler error (segmentation fault).
[GCC version: 6.3.1, arch: armv6l]

In directory tests:
$ gcc -o function-pointer.o -c function-pointer.c -fplugin=../gcc-plugin/multiverse.so -I../libmultiverse -Wextra -MT function-pointer.o -MMD -MP -MF .d/function-pointer.Td

found multiverse operand: config
guess!...found '1' multiverse variables (0 blacklisted)
generating function clone foo.multiverse.config_0
.. found multiverse variable in statement, replacing: config.0_1 = 0;
generating function clone foo.multiverse.config_1
.. found multiverse variable in statement, replacing: config.0_1 = 1;
Generated 2 specialized functions for foo
mv variant generation: skipping non-mv function 'main'

merge function bodies for: foo
foo.multiverse.config_0 NEQ; new equivalence class
foo.multiverse.config_1 NEQ; new equivalence class
found function equivalence class of size 1
found function equivalence class of size 1
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_UNIT               | multiverse
PLUGIN_ATTRIBUTES                | multiverse
PLUGIN_START_UNIT                | multiverse
function-pointer.c: In function 'main':
function-pointer.c:34:1: internal compiler error: Segmentation fault
 }
 ^
0x76a701e7 is_multiverse_fn
	/home/florian/multiverse/gcc-plugin/multiverse.cc:208
0x76a73187 mv_callsites_execute
	/home/florian/multiverse/gcc-plugin/multiverse.cc:856
0x76a73367 execute
	/home/florian/multiverse/gcc-plugin/gcc-generate-rtl-pass.h:126
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://github.com/archlinuxarm/PKGBUILDs/issues> for instructions.
@florommel florommel self-assigned this Apr 28, 2017
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

1 participant