Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2012 02:53:06 GMT
From:      Joćo Rocha Braga Filho <goffredo@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/172750: graphics/luminance does not compile if graphics/libraw is using OpenMP
Message-ID:  <201210160253.q9G2r6v6097209@red.freebsd.org>
Resent-Message-ID: <201210160300.q9G300Xx093171@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         172750
>Category:       ports
>Synopsis:       graphics/luminance does not compile if graphics/libraw is using OpenMP
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 16 03:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Joćo Rocha Braga Filho
>Release:        9.1-PRERELEASE #23
>Organization:
>Environment:
FreeBSD 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #23: Sat Oct 13 18:35:35 BRT 2012 goffredo@:/usr/obj/usr/src/sys/SUPER amd64
>Description:
I compiled graphics/libraw with OpenMP option turned on, then compiled graphics/luminance, and got these errors:

"
[ 87%] Built target viewers
Linking CXX executable luminance-hdr
Linking CXX executable luminance-hdr-cli
/usr/local/lib/libraw_r.so: undefined reference to `std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11'
/usr/local/lib/libraw_r.so: undefined reference to `GOMP_parallel_start'
/usr/local/lib/libraw_r.so: undefined reference to `GOMP_loop_dynamic_start'
/usr/local/lib/libraw_r.so: undefined reference to `GOMP_parallel_end'
/usr/local/lib/libraw_r.so: undefined reference to `omp_get_num_threads'
/usr/local/lib/libraw_r.so: undefined reference to `GOMP_loop_end'
/usr/local/lib/libraw_r.so: undefined reference to `GOMP_barrier'
/usr/local/lib/libraw_r.so: undefined reference to `omp_get_thread_num'
/usr/local/lib/libraw_r.so: undefined reference to `GOMP_loop_dynamic_next'
*** [luminance-hdr-cli] Error code 1
1 error
*** [CMakeFiles/luminance-hdr-cli.dir/all] Error code 2
/usr/local/lib/libraw_r.so: undefined reference to `std::ctype<char>::_M_widen_init() const@GLIBCXX_3.4.11'
/usr/local/lib/libraw_r.so: undefined reference to `GOMP_parallel_start'
/usr/local/lib/libraw_r.so: undefined reference to `GOMP_loop_dynamic_start'
/usr/local/lib/libraw_r.so: undefined reference to `GOMP_parallel_end'
/usr/local/lib/libraw_r.so: undefined reference to `omp_get_num_threads'
/usr/local/lib/libraw_r.so: undefined reference to `GOMP_loop_end'
/usr/local/lib/libraw_r.so: undefined reference to `GOMP_barrier'
/usr/local/lib/libraw_r.so: undefined reference to `omp_get_thread_num'
/usr/local/lib/libraw_r.so: undefined reference to `GOMP_loop_dynamic_next'
*** [luminance-hdr] Error code 1
1 error
*** [CMakeFiles/luminance-hdr.dir/all] Error code 2
2 errors
*** [all] Error code 2
1 error
*** [do-build] Error code 1

Stop in /usr/ports/graphics/luminance.
"

Recompiled graphics/libraw with OpenMP off, and compiled graphics/luminance Ok.

Note, I don't support this port anymore.
>How-To-Repeat:
Follow steps show in "Full Description".
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210160253.q9G2r6v6097209>