[Bug c/60425] -fopenmp fails when gcc is compiled to /usr/local

2014-03-05 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60425 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/60425] -fopenmp fails when gcc is compiled to /usr/local

2014-03-05 Thread j-frankish at slb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60425 --- Comment #2 from j-frankish at slb dot com --- Ah - I see the problem now. I'm using gcc packaged into a squashfs package, loop mounted at /tmp/tcloop/gcc and symlinked to the root file system. The gcc libs are packaged separately and mounted a

[Bug c/60425] -fopenmp fails when gcc is compiled to /usr/local

2014-03-05 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60425 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1 f

[Bug c/60425] New: -fopenmp fails when gcc is compiled to /usr/local

2014-03-05 Thread j-frankish at slb dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60425 Bug ID: 60425 Summary: -fopenmp fails when gcc is compiled to /usr/local Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component

-fopenmp fails when gcc is compiled to /usr/local

2014-03-03 Thread John Frankish
Using gcc-4.7.2 compiled to /usr/local The following fails: echo "int main(){}" > hello.c gcc hello.c -fopenmp ..with a message that libgomp.spec cannot be found editing the output of gcc -dumpspecs: include(libgomp.spec) -> include(/usr/local/lib/libgomp.spec) include(libitm.spec) -> include(