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: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: j-frankish at slb dot com

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(/usr/local/lib/libitm.spec)

fixes the error, but shouldn't be required.

Reply via email to