ports/172750: graphics/luminance does not compile if graphics/libraw is using OpenMP

João Rocha Braga Filho goffredo at gmail.com
Tue Oct 16 03:00:01 UTC 2012


>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 at 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 at 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:


More information about the freebsd-ports-bugs mailing list