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

HPX segfaults when built with gcc 4.7 #674

Closed
sithhell opened this issue Jan 23, 2013 · 5 comments
Closed

HPX segfaults when built with gcc 4.7 #674

sithhell opened this issue Jan 23, 2013 · 5 comments
Assignees
Milestone

Comments

@sithhell
Copy link
Member

Building HPX leads to a segfault when it was built with gcc 4.7. This needs closer investigation
as there have been multiple reports about this segfault on IRC

@ghost ghost assigned brycelelbach Jan 23, 2013
@brycelelbach
Copy link
Member

It's a visibility issue, I believe:

  • The data members of a OSHL (static variable) are clearly not initialized properly, leading me to believe that there are multiple copies being accessed due to visibility issues.
  • The problem doesn't show up in debug mode when -fvisibility=hidden is turned off.

Can I ask someone else to please take lead on debugging this?

@hkaiser
Copy link
Member

hkaiser commented Jan 24, 2013

Have you tried removing -fvisibility=hidden in release mode? That should verify your 'believe' in no time.

@brycelelbach
Copy link
Member

Yes, and then the problem goes away

@hkaiser
Copy link
Member

hkaiser commented Jan 24, 2013

In this case we should remove this option for gcc 4.7 alltogether - apparently its broken.

@ghost ghost assigned brycelelbach Jan 24, 2013
hkaiser added a commit that referenced this issue Jan 24, 2013
hkaiser added a commit that referenced this issue Jan 25, 2013
hkaiser added a commit that referenced this issue Jan 25, 2013
@hkaiser
Copy link
Member

hkaiser commented Jan 25, 2013

This appears to be resolved

@hkaiser hkaiser closed this as completed Jan 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants