View previous topic :: View next topic |
Author |
Message |
helio Apprentice
Joined: 08 Apr 2006 Posts: 237
|
Posted: Thu Jul 03, 2014 9:45 pm Post subject: Failed to emerge kde-base/libkdcraw-4.12.5 [Solved] |
|
|
Error message:
cd /scratch/var/tmp/portage/kde-base/libkdcraw-4.12.5/work/libkdcraw-4.12.5_build/test && /usr/bin/cmake -E cmake_link_script CMakeFiles/raw2png.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed CMakeFiles/raw2png.dir/raw2png.o -o raw2png -L/scratch/var/tmp/portage/kde-base/libkdcraw-4.12.5/work/libkdcraw-4.12.5_build/lib -L/usr/lib64/qt4 -rdynamic ../lib/libkdcraw.so.23.0.0 /usr/lib64/qt4/libQtCore.so -lpthread /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQtCore.so -lpthread -Wl,-rpath,/scratch/var/tmp/portage/kde-base/libkdcraw-4.12.5/work/libkdcraw-4.12.5_build/lib:/usr/lib64/qt4
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_parallel_start'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_critical_name_end'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_loop_end'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_barrier'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_loop_dynamic_start'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_critical_name_start'
/usr/lib64/libraw_r.so.9: undefined reference to `omp_get_thread_num'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_loop_dynamic_next'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_parallel_end'
/usr/lib64/libraw_r.so.9: undefined reference to `omp_get_num_threads'
collect2: error: ld returned 1 exit status
make[2]: *** [test/libinfo] Error 1
make[2]: Leaving directory `/scratch/var/tmp/portage/kde-base/libkdcraw-4.12.5/work/libkdcraw-4.12.5_build'
make[1]: *** [test/CMakeFiles/libinfo.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_parallel_start'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_critical_name_end'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_loop_end'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_barrier'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_loop_dynamic_start'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_critical_name_start'
/usr/lib64/libraw_r.so.9: undefined reference to `omp_get_thread_num'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_loop_dynamic_next'
/usr/lib64/libraw_r.so.9: undefined reference to `GOMP_parallel_end'
/usr/lib64/libraw_r.so.9: undefined reference to `omp_get_num_threads'
collect2: error: ld returned 1 exit status
make[2]: *** [test/raw2png] Error 1
make[2]: Leaving directory `/scratch/var/tmp/portage/kde-base/libkdcraw-4.12.5/work/libkdcraw-4.12.5_build'
make[1]: *** [test/CMakeFiles/raw2png.dir/all] Error 2
make[1]: Leaving directory `/scratch/var/tmp/portage/kde-base/libkdcraw-4.12.5/work/libkdcraw-4.12.5_build'
make: *** [all] Error 2
* ERROR: kde-base/libkdcraw-4.12.5::gentoo failed (compile phase):
* emake failed
Any suggestions?
Last edited by helio on Tue Jul 22, 2014 2:11 am; edited 1 time in total |
|
Back to top |
|
|
steppicrew n00b
Joined: 05 Jul 2014 Posts: 1
|
Posted: Sat Jul 05, 2014 9:11 am Post subject: |
|
|
I had the same problem here.
Try to rebuild media-libs/libraw
Code: | emerge -av1 media-libs/libraw |
|
|
Back to top |
|
|
helio Apprentice
Joined: 08 Apr 2006 Posts: 237
|
Posted: Tue Jul 22, 2014 2:10 am Post subject: |
|
|
Thanks, steppicrew! That indeed solved the problem. I also found the same solution in a previous post in this forum.
steppicrew wrote: | I had the same problem here.
Try to rebuild media-libs/libraw
Code: | emerge -av1 media-libs/libraw |
|
|
|
Back to top |
|
|
dataking Apprentice
Joined: 20 Apr 2005 Posts: 251
|
Posted: Tue Aug 05, 2014 6:53 am Post subject: |
|
|
Just adding a +1 here.
Rebuilt media-libs/libraw then emerge broken libs (forget the exact command, atm) and things seem to work.
Thanks for the post! _________________ -= the D@7@k|n& =- |
|
Back to top |
|
|
davidjtanner n00b
Joined: 15 Nov 2014 Posts: 3 Location: New York
|
Posted: Sat Nov 15, 2014 2:38 pm Post subject: |
|
|
I have the same problem, but emerging libraw doesn't fix it. I found the OMP library at /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3, so I did
export LDPATH="/usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libgomp.so.1"
also
export LDPATH="/usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/"
Also changed /etc/portage/make.config to add -L to CFLAGS:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe -L/usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
#USE="bindist mmx sse sse2" distribution USE
USE="bindist mmx sse sse2 -gtk -gnome qt3 qt3support qt4 qt4support kde dvd alsa cdr\
dbus X opengl sql mysql svg webkit png mng semantic-desktop -hal \
gudev ogg vorbis hwdb consolekit policykit minizip -libproxy"
# gudev ogg vorbis hwdb consolekit policykit minizip -libproxy -openmp"
# gudev ogg vorbis hwdb consolekit policykit minizip -xinerama"
# -xinerama for compile error making x11-0rg
# gudev ogg vorbis hwdb consolekit policykit minizip"
# gudev ogg vorbis hwdb consolekit policykit minizip -libproxy"
# Last line for kde? and consolekit?
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo http://distfiles.gentoo.org"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
VIDEO_CARDS="nouveau virtualbox"
INPUT_DEVICES="evdev keyboard mouse virtualbox"
# Set PORTDIR for backward compatibility with various tools:
# gentoo-bashcomp - bug #478444
# euse - bug #474574
# euses and ufed - bug #478318
PORTDIR="/usr/portage
The symbols are there:
pop / # readelf -s /usr/lib64/gcc/x86_64-pc-linux-gnu/4.8.3/libgomp.so.1
Symbol table '.dynsym' contains 208 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 0000000000003db0 0 SECTION LOCAL DEFAULT 10
2: 000000000020dd58 0 SECTION LOCAL DEFAULT 17
3: 0000000000000000 0 FUNC GLOBAL DEFAULT UND getenv@GLIBC_2.2.5 (9)
4: 0000000000000000 0 FUNC GLOBAL DEFAULT UND free@GLIBC_2.2.5 (9)
5: 0000000000000000 0 FUNC GLOBAL DEFAULT UND pthread_create@GLIBC_2.2.5 (10)
6: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __vfprintf_chk@GLIBC_2.3.4 (11)
7: 0000000000000000 0 FUNC GLOBAL DEFAULT UND abort@GLIBC_2.2.5 (9)
8: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __errno_location@GLIBC_2.2.5 (10)
9: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_deregisterTMCloneTab
10: 0000000000000000 0 FUNC GLOBAL DEFAULT UND pthread_attr_setaffinity_@GLIBC_2.3.4 (12)
11: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __sched_cpucount@GLIBC_2.6 (13)
12: 0000000000000000 0 FUNC GLOBAL DEFAULT UND getloadavg@GLIBC_2.2.5 (9)
13: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __stack_chk_fail@GLIBC_2.4 (14)
14: 0000000000000000 0 FUNC GLOBAL DEFAULT UND pthread_setaffinity_np@GLIBC_2.3.4 (12)
15: 0000000000000000 0 FUNC GLOBAL DEFAULT UND pthread_setspecific@GLIBC_2.2.5 (10)
16: 0000000000000000 0 FUNC GLOBAL DEFAULT UND memset@GLIBC_2.2.5 (9)
17: 0000000000000000 0 FUNC GLOBAL DEFAULT UND fputc@GLIBC_2.2.5 (9)
18: 0000000000000000 0 FUNC GLOBAL DEFAULT UND pthread_attr_init@GLIBC_2.2.5 (10)
19: 0000000000000000 0 FUNC GLOBAL DEFAULT UND pthread_attr_getstacksize@GLIBC_2.2.5 (10)
20: 0000000000000000 0 FUNC GLOBAL DEFAULT UND strtoull@GLIBC_2.2.5 (9)
21: 0000000000000000 0 FUNC GLOBAL DEFAULT UND calloc@GLIBC_2.2.5 (9)
22: 0000000000000000 0 FUNC GLOBAL DEFAULT UND syscall@GLIBC_2.2.5 (9)
23: 0000000000000000 0 NOTYPE WEAK DEFAULT UND __gmon_start__
24: 0000000000000000 0 FUNC GLOBAL DEFAULT UND memcpy@GLIBC_2.14 (15)
25: 0000000000000000 0 FUNC GLOBAL DEFAULT UND pthread_attr_setdetachsta@GLIBC_2.2.5 (10)
26: 0000000000000000 0 FUNC GLOBAL DEFAULT UND pthread_getaffinity_np@GLIBC_2.3.4 (12)
27: 0000000000000000 0 FUNC GLOBAL DEFAULT UND pthread_exit@GLIBC_2.2.5 (10)
28: 0000000000000000 0 FUNC GLOBAL DEFAULT UND malloc@GLIBC_2.2.5 (9)
29: 0000000000000000 0 FUNC GLOBAL DEFAULT UND strncasecmp@GLIBC_2.2.5 (9)
30: 0000000000000000 0 FUNC GLOBAL DEFAULT UND clock_gettime@GLIBC_2.2.5 (16)
31: 0000000000000000 0 FUNC GLOBAL DEFAULT UND pthread_attr_setstacksize@GLIBC_2.2.5 (10)
32: 0000000000000000 0 FUNC GLOBAL DEFAULT UND realloc@GLIBC_2.2.5 (9)
33: 0000000000000000 0 FUNC GLOBAL DEFAULT UND pthread_key_create@GLIBC_2.2.5 (10)
34: 0000000000000000 0 FUNC GLOBAL DEFAULT UND pthread_self@GLIBC_2.2.5 (10)
35: 0000000000000000 0 FUNC GLOBAL DEFAULT UND sysconf@GLIBC_2.2.5 (9)
36: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _Jv_RegisterClasses
37: 0000000000000000 0 FUNC GLOBAL DEFAULT UND strtoul@GLIBC_2.2.5 (9)
38: 0000000000000000 0 FUNC GLOBAL DEFAULT UND pthread_attr_destroy@GLIBC_2.2.5 (10)
39: 0000000000000000 0 FUNC GLOBAL DEFAULT UND pthread_key_delete@GLIBC_2.2.5 (10)
40: 0000000000000000 0 FUNC GLOBAL DEFAULT UND exit@GLIBC_2.2.5 (9)
41: 0000000000000000 0 FUNC GLOBAL DEFAULT UND fwrite@GLIBC_2.2.5 (9)
42: 0000000000000000 0 NOTYPE WEAK DEFAULT UND _ITM_registerTMCloneTable
43: 0000000000000000 0 FUNC GLOBAL DEFAULT UND strerror@GLIBC_2.2.5 (9)
44: 0000000000000000 0 FUNC GLOBAL DEFAULT UND clock_getres@GLIBC_2.2.5 (16)
45: 0000000000000000 0 FUNC WEAK DEFAULT UND __cxa_finalize@GLIBC_2.2.5 (9)
46: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __ctype_tolower_loc@GLIBC_2.3 (17)
47: 0000000000000000 0 FUNC GLOBAL DEFAULT UND __ctype_b_loc@GLIBC_2.3 (17)
48: 0000000000000000 0 OBJECT GLOBAL DEFAULT UND stderr@GLIBC_2.2.5 (9)
49: 000000000000aa80 17 FUNC GLOBAL DEFAULT 12 omp_set_nested_8_@@OMP_1.0
50: 0000000000005310 35 FUNC GLOBAL DEFAULT 12 omp_get_dynamic@@OMP_1.0
51: 000000000000aaa0 7 FUNC GLOBAL DEFAULT 12 omp_set_num_threads_@@OMP_1.0
52: 000000000000a8f0 26 FUNC GLOBAL DEFAULT 12 omp_init_nest_lock_@@OMP_3.0
53: 000000000000a9b0 5 FUNC GLOBAL DEFAULT 12 omp_init_nest_lock_@OMP_1.0
54: 00000000000051b0 26 FUNC GLOBAL DEFAULT 12 GOMP_critical_end@@GOMP_1.0
55: 000000000000aa50 17 FUNC GLOBAL DEFAULT 12 omp_set_dynamic_8_@@OMP_1.0
56: 0000000000000000 0 OBJECT GLOBAL DEFAULT ABS GOMP_2.0
57: 0000000000000000 0 OBJECT GLOBAL DEFAULT ABS OMP_3.0
58: 0000000000009b00 15 FUNC GLOBAL DEFAULT 12 omp_unset_lock@@OMP_3.0
59: 0000000000009b00 15 FUNC GLOBAL DEFAULT 12 omp_unset_lock@OMP_1.0
60: 0000000000000000 0 OBJECT GLOBAL DEFAULT ABS OMP_3.1
61: 0000000000007eb0 83 FUNC GLOBAL DEFAULT 12 omp_get_team_size@@OMP_3.0
62: 00000000000071d0 480 FUNC GLOBAL DEFAULT 12 GOMP_loop_ull_ordered_dyn@@GOMP_2.0
63: 000000000000a910 5 FUNC GLOBAL DEFAULT 12 omp_destroy_lock_@@OMP_3.0
64: 000000000000a9c0 5 FUNC GLOBAL DEFAULT 12 omp_destroy_lock_@OMP_1.0
65: 000000000000a980 5 FUNC GLOBAL DEFAULT 12 omp_test_lock_@@OMP_3.0
66: 000000000000aa20 5 FUNC GLOBAL DEFAULT 12 omp_test_lock_@OMP_1.0
67: 0000000000007870 89 FUNC GLOBAL DEFAULT 12 GOMP_loop_ull_ordered_run@@GOMP_2.0
68: 000000000000ab20 5 FUNC GLOBAL DEFAULT 12 omp_get_num_procs_@@OMP_1.0
69: 000000000000a1d0 5 FUNC GLOBAL DEFAULT 12 omp_get_num_procs@@OMP_1.0
70: 000000000000aa00 5 FUNC GLOBAL DEFAULT 12 omp_unset_lock_@OMP_1.0
71: 000000000000a960 5 FUNC GLOBAL DEFAULT 12 omp_unset_lock_@@OMP_3.0
72: 00000000000088f0 653 FUNC GLOBAL DEFAULT 12 GOMP_taskwait@@GOMP_2.0
73: 000000000000a940 5 FUNC GLOBAL DEFAULT 12 omp_set_lock_@@OMP_3.0
74: 000000000000a9e0 5 FUNC GLOBAL DEFAULT 12 omp_set_lock_@OMP_1.0
75: 0000000000000000 0 OBJECT GLOBAL DEFAULT ABS OMP_1.0
76: 0000000000006c90 5 FUNC GLOBAL DEFAULT 12 GOMP_loop_end_nowait@@GOMP_1.0
77: 000000000000abb0 47 FUNC GLOBAL DEFAULT 12 omp_get_schedule_@@OMP_3.0
78: 000000000000ab80 38 FUNC GLOBAL DEFAULT 12 omp_set_schedule_8_@@OMP_3.0
79: 0000000000008050 5 FUNC GLOBAL DEFAULT 12 GOMP_sections_end@@GOMP_1.0
80: 0000000000009ab0 7 FUNC GLOBAL DEFAULT 12 omp_init_lock@@OMP_3.0
81: 0000000000009ab0 7 FUNC GLOBAL DEFAULT 12 omp_init_lock@OMP_1.0
82: 0000000000005380 35 FUNC GLOBAL DEFAULT 12 omp_get_nested@@OMP_1.0
83: 000000000000ab40 5 FUNC GLOBAL DEFAULT 12 omp_get_thread_num_@@OMP_1.0
84: 000000000000aca0 36 FUNC GLOBAL DEFAULT 12 omp_get_ancestor_thread_n@@OMP_3.0
85: 000000000000ab00 5 FUNC GLOBAL DEFAULT 12 omp_in_parallel_@@OMP_1.0
86: 00000000000077e0 135 FUNC GLOBAL DEFAULT 12 GOMP_loop_ull_ordered_gui@@GOMP_2.0
87: 0000000000006510 527 FUNC GLOBAL DEFAULT 12 GOMP_loop_ordered_dynamic@@GOMP_1.0
88: 000000000000ac40 36 FUNC GLOBAL DEFAULT 12 omp_set_max_active_levels@@OMP_3.0
89: 00000000000069e0 127 FUNC GLOBAL DEFAULT 12 GOMP_loop_ordered_static_@@GOMP_1.0
90: 0000000000008110 61 FUNC GLOBAL DEFAULT 12 GOMP_single_copy_end@@GOMP_1.0
91: 0000000000007620 19 FUNC GLOBAL DEFAULT 12 GOMP_loop_ull_static_next@@GOMP_2.0
92: 0000000000006060 213 FUNC GLOBAL DEFAULT 12 GOMP_loop_static_start@@GOMP_1.0
93: 0000000000007f10 12 FUNC GLOBAL DEFAULT 12 omp_get_active_level@@OMP_3.0
94: 0000000000009ac0 2 FUNC GLOBAL DEFAULT 12 omp_destroy_lock@OMP_1.0
95: 0000000000009ac0 2 FUNC GLOBAL DEFAULT 12 omp_destroy_lock@@OMP_3.0
96: 0000000000006950 5 FUNC GLOBAL DEFAULT 12 GOMP_loop_dynamic_next@@GOMP_1.0
97: 000000000000acd0 7 FUNC GLOBAL DEFAULT 12 omp_get_team_size_@@OMP_3.0
98: 000000000000ace0 36 FUNC GLOBAL DEFAULT 12 omp_get_team_size_8_@@OMP_3.0
99: 0000000000005210 52 FUNC GLOBAL DEFAULT 12 GOMP_atomic_start@@GOMP_1.0
100: 0000000000008b80 2 FUNC GLOBAL DEFAULT 12 GOMP_taskyield@@GOMP_3.0
101: 0000000000006a60 135 FUNC GLOBAL DEFAULT 12 GOMP_loop_ordered_dynamic@@GOMP_1.0
102: 000000000000aa70 7 FUNC GLOBAL DEFAULT 12 omp_set_nested_@@OMP_1.0
103: 0000000000007e00 30 FUNC GLOBAL DEFAULT 12 omp_get_num_threads@@OMP_1.0
104: 0000000000007640 5 FUNC GLOBAL DEFAULT 12 GOMP_loop_ull_dynamic_nex@@GOMP_2.0
105: 0000000000009b10 26 FUNC GLOBAL DEFAULT 12 omp_test_lock@OMP_1.0
106: 0000000000009b10 26 FUNC GLOBAL DEFAULT 12 omp_test_lock@@OMP_3.0
107: 0000000000005140 34 FUNC GLOBAL DEFAULT 12 GOMP_barrier@@GOMP_1.0
108: 0000000000007e50 12 FUNC GLOBAL DEFAULT 12 omp_get_level@@OMP_3.0
109: 0000000000006960 5 FUNC GLOBAL DEFAULT 12 GOMP_loop_guided_next@@GOMP_1.0
110: 0000000000006be0 31 FUNC GLOBAL DEFAULT 12 GOMP_parallel_loop_static@@GOMP_1.0
111: 00000000000080a0 108 FUNC GLOBAL DEFAULT 12 GOMP_single_copy_start@@GOMP_1.0
112: 000000000000aa40 7 FUNC GLOBAL DEFAULT 12 omp_set_dynamic_@@OMP_1.0
113: 0000000000005200 15 FUNC GLOBAL DEFAULT 12 GOMP_critical_name_end@@GOMP_1.0
114: 000000000000aaf0 5 FUNC GLOBAL DEFAULT 12 omp_get_nested_@@OMP_1.0
115: 000000000000aae0 5 FUNC GLOBAL DEFAULT 12 omp_get_dynamic_@@OMP_1.0
116: 0000000000006db0 331 FUNC GLOBAL DEFAULT 12 GOMP_loop_ull_dynamic_sta@@GOMP_2.0
117: 0000000000006c40 59 FUNC GLOBAL DEFAULT 12 GOMP_parallel_loop_runtim@@GOMP_1.0
118: 0000000000007e60 70 FUNC GLOBAL DEFAULT 12 omp_get_ancestor_thread_n@@OMP_3.0
119: 0000000000009bc0 35 FUNC GLOBAL DEFAULT 12 omp_unset_nest_lock@@OMP_3.0
120: 0000000000009da0 86 FUNC GLOBAL DEFAULT 12 omp_unset_nest_lock@OMP_1.0
121: 0000000000007fb0 32 FUNC GLOBAL DEFAULT 12 GOMP_sections_next@@GOMP_1.0
122: 0000000000007e30 20 FUNC GLOBAL DEFAULT 12 omp_in_parallel@@OMP_1.0
123: 0000000000000000 0 OBJECT GLOBAL DEFAULT ABS GOMP_3.0
124: 0000000000006c20 31 FUNC GLOBAL DEFAULT 12 GOMP_parallel_loop_guided@@GOMP_1.0
125: 0000000000007dc0 58 FUNC GLOBAL DEFAULT 12 GOMP_parallel_end@@GOMP_1.0
126: 0000000000006420 229 FUNC GLOBAL DEFAULT 12 GOMP_loop_ordered_static_@@GOMP_1.0
127: 0000000000007d90 48 FUNC GLOBAL DEFAULT 12 GOMP_parallel_start@@GOMP_1.0
128: 000000000000ab10 5 FUNC GLOBAL DEFAULT 12 omp_get_max_threads_@@OMP_1.0
129: 0000000000006c80 5 FUNC GLOBAL DEFAULT 12 GOMP_loop_end@@GOMP_1.0
130: 000000000000ab70 9 FUNC GLOBAL DEFAULT 12 omp_set_schedule_@@OMP_3.0
131: 00000000000062b0 181 FUNC GLOBAL DEFAULT 12 GOMP_loop_guided_start@@GOMP_1.0
132: 0000000000006ca0 261 FUNC GLOBAL DEFAULT 12 GOMP_loop_ull_static_star@@GOMP_2.0
133: 00000000000051d0 41 FUNC GLOBAL DEFAULT 12 GOMP_critical_name_start@@GOMP_1.0
134: 0000000000006af0 135 FUNC GLOBAL DEFAULT 12 GOMP_loop_ordered_guided_@@GOMP_1.0
135: 0000000000007650 5 FUNC GLOBAL DEFAULT 12 GOMP_loop_ull_guided_next@@GOMP_2.0
136: 0000000000009ca0 254 FUNC GLOBAL DEFAULT 12 omp_set_nest_lock@OMP_1.0
137: 0000000000009b50 106 FUNC GLOBAL DEFAULT 12 omp_set_nest_lock@@OMP_3.0
138: 0000000000000000 0 OBJECT GLOBAL DEFAULT ABS GOMP_1.0
139: 00000000000081b0 1070 FUNC GLOBAL DEFAULT 12 GOMP_task@@GOMP_2.0
140: 000000000000aa30 5 FUNC GLOBAL DEFAULT 12 omp_test_nest_lock_@OMP_1.0
141: 000000000000a990 8 FUNC GLOBAL DEFAULT 12 omp_test_nest_lock_@@OMP_3.0
142: 0000000000000000 0 OBJECT GLOBAL DEFAULT ABS OMP_2.0
143: 000000000000ac30 7 FUNC GLOBAL DEFAULT 12 omp_set_max_active_levels@@OMP_3.0
144: 0000000000006720 349 FUNC GLOBAL DEFAULT 12 GOMP_loop_ordered_guided_@@GOMP_1.0
145: 00000000000053b0 119 FUNC GLOBAL DEFAULT 12 omp_set_schedule@@OMP_3.0
146: 0000000000007fd0 126 FUNC GLOBAL DEFAULT 12 GOMP_parallel_sections_st@@GOMP_1.0
147: 0000000000005430 41 FUNC GLOBAL DEFAULT 12 omp_get_schedule@@OMP_3.0
148: 000000000000a890 68 FUNC GLOBAL DEFAULT 12 omp_get_wtick@@OMP_2.0
149: 000000000000ac80 5 FUNC GLOBAL DEFAULT 12 omp_get_level_@@OMP_3.0
150: 000000000000ab60 5 FUNC GLOBAL DEFAULT 12 omp_get_wtime_@@OMP_2.0
151: 0000000000006f00 229 FUNC GLOBAL DEFAULT 12 GOMP_loop_ull_guided_star@@GOMP_2.0
152: 0000000000006970 97 FUNC GLOBAL DEFAULT 12 GOMP_loop_runtime_next@@GOMP_1.0
153: 000000000000ad20 5 FUNC GLOBAL DEFAULT 12 omp_in_final_@@OMP_3.1
154: 000000000000a840 68 FUNC GLOBAL DEFAULT 12 omp_get_wtime@@OMP_2.0
155: 0000000000006370 174 FUNC GLOBAL DEFAULT 12 GOMP_loop_runtime_start@@GOMP_1.0
156: 000000000000ac70 5 FUNC GLOBAL DEFAULT 12 omp_get_max_active_levels@@OMP_3.0
157: 0000000000007e20 12 FUNC GLOBAL DEFAULT 12 omp_get_thread_num@@OMP_1.0
158: 0000000000008b90 35 FUNC GLOBAL DEFAULT 12 omp_in_final@@OMP_3.1
159: 0000000000008060 5 FUNC GLOBAL DEFAULT 12 GOMP_sections_end_nowait@@GOMP_1.0
160: 00000000000070c0 269 FUNC GLOBAL DEFAULT 12 GOMP_loop_ull_ordered_sta@@GOMP_2.0
161: 000000000000ab50 5 FUNC GLOBAL DEFAULT 12 omp_get_wtick_@@OMP_2.0
162: 0000000000007750 135 FUNC GLOBAL DEFAULT 12 GOMP_loop_ull_ordered_dyn@@GOMP_2.0
163: 0000000000005270 86 FUNC GLOBAL DEFAULT 12 omp_set_num_threads@@OMP_1.0
164: 00000000000076d0 127 FUNC GLOBAL DEFAULT 12 GOMP_loop_ull_ordered_sta@@GOMP_2.0
165: 0000000000006b80 89 FUNC GLOBAL DEFAULT 12 GOMP_loop_ordered_runtime@@GOMP_1.0
166: 00000000000054c0 7 FUNC GLOBAL DEFAULT 12 omp_get_max_active_levels@@OMP_3.0
167: 0000000000007550 196 FUNC GLOBAL DEFAULT 12 GOMP_loop_ull_ordered_run@@GOMP_2.0
168: 0000000000007660 97 FUNC GLOBAL DEFAULT 12 GOMP_loop_ull_runtime_nex@@GOMP_2.0
169: 0000000000006c00 31 FUNC GLOBAL DEFAULT 12 GOMP_parallel_loop_dynami@@GOMP_1.0
170: 000000000000a920 29 FUNC GLOBAL DEFAULT 12 omp_destroy_nest_lock_@@OMP_3.0
171: 000000000000a9d0 5 FUNC GLOBAL DEFAULT 12 omp_destroy_nest_lock_@OMP_1.0
172: 0000000000005340 60 FUNC GLOBAL DEFAULT 12 omp_set_nested@@OMP_1.0
173: 000000000000a8e0 5 FUNC GLOBAL DEFAULT 12 omp_init_lock_@@OMP_3.0
174: 000000000000a9a0 5 FUNC GLOBAL DEFAULT 12 omp_init_lock_@OMP_1.0
175: 000000000000ac90 7 FUNC GLOBAL DEFAULT 12 omp_get_ancestor_thread_n@@OMP_3.0
176: 000000000000ad10 5 FUNC GLOBAL DEFAULT 12 omp_get_active_level_@@OMP_3.0
177: 000000000000aab0 36 FUNC GLOBAL DEFAULT 12 omp_set_num_threads_8_@@OMP_1.0
178: 0000000000005250 26 FUNC GLOBAL DEFAULT 12 GOMP_atomic_end@@GOMP_1.0
179: 000000000000ab30 5 FUNC GLOBAL DEFAULT 12 omp_get_num_threads_@@OMP_1.0
180: 000000000000abe0 49 FUNC GLOBAL DEFAULT 12 omp_get_schedule_8_@@OMP_3.0
181: 0000000000009b30 16 FUNC GLOBAL DEFAULT 12 omp_init_nest_lock@@OMP_3.0
182: 0000000000009c80 8 FUNC GLOBAL DEFAULT 12 omp_init_nest_lock@OMP_1.0
183: 0000000000009e00 116 FUNC GLOBAL DEFAULT 12 omp_test_nest_lock@OMP_1.0
184: 0000000000009bf0 132 FUNC GLOBAL DEFAULT 12 omp_test_nest_lock@@OMP_3.0
185: 0000000000009ad0 41 FUNC GLOBAL DEFAULT 12 omp_set_lock@@OMP_3.0
186: 0000000000009ad0 41 FUNC GLOBAL DEFAULT 12 omp_set_lock@OMP_1.0
187: 00000000000054b0 16 FUNC GLOBAL DEFAULT 12 omp_set_max_active_levels@@OMP_3.0
188: 000000000000ac20 5 FUNC GLOBAL DEFAULT 12 omp_get_thread_limit_@@OMP_3.0
189: 0000000000006930 19 FUNC GLOBAL DEFAULT 12 GOMP_loop_static_next@@GOMP_1.0
190: 0000000000006880 174 FUNC GLOBAL DEFAULT 12 GOMP_loop_ordered_runtime@@GOMP_1.0
191: 0000000000005170 52 FUNC GLOBAL DEFAULT 12 GOMP_critical_start@@GOMP_1.0
192: 000000000000a950 8 FUNC GLOBAL DEFAULT 12 omp_set_nest_lock_@@OMP_3.0
193: 000000000000a970 8 FUNC GLOBAL DEFAULT 12 omp_unset_nest_lock_@@OMP_3.0
194: 000000000000a9f0 5 FUNC GLOBAL DEFAULT 12 omp_set_nest_lock_@OMP_1.0
195: 000000000000aa10 5 FUNC GLOBAL DEFAULT 12 omp_unset_nest_lock_@OMP_1.0
196: 00000000000052d0 60 FUNC GLOBAL DEFAULT 12 omp_set_dynamic@@OMP_1.0
197: 0000000000006ff0 196 FUNC GLOBAL DEFAULT 12 GOMP_loop_ull_runtime_sta@@GOMP_2.0
198: 0000000000009c90 2 FUNC GLOBAL DEFAULT 12 omp_destroy_nest_lock@OMP_1.0
199: 0000000000009b40 2 FUNC GLOBAL DEFAULT 12 omp_destroy_nest_lock@@OMP_3.0
200: 0000000000005460 34 FUNC GLOBAL DEFAULT 12 omp_get_max_threads@@OMP_1.0
201: 0000000000008070 47 FUNC GLOBAL DEFAULT 12 GOMP_single_start@@GOMP_1.0
202: 0000000000005490 25 FUNC GLOBAL DEFAULT 12 omp_get_thread_limit@@OMP_3.0
203: 0000000000007f20 135 FUNC GLOBAL DEFAULT 12 GOMP_sections_start@@GOMP_1.0
204: 0000000000007c20 119 FUNC GLOBAL DEFAULT 12 GOMP_ordered_start@@GOMP_1.0
205: 00000000000073b0 403 FUNC GLOBAL DEFAULT 12 GOMP_loop_ull_ordered_gui@@GOMP_2.0
206: 0000000000006140 366 FUNC GLOBAL DEFAULT 12 GOMP_loop_dynamic_start@@GOMP_1.0
207: 0000000000007ca0 2 FUNC GLOBAL DEFAULT 12 GOMP_ordered_end@@GOMP_1.0
What am I doing wrong? |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sat Nov 15, 2014 4:13 pm Post subject: |
|
|
Have you switched compiler with gcc-config? You need to source the profile and env-update after to work from the same terminal.
Also check the content of /etc/ld.so.conf.d/05gcc-x86_64-pc-linux-gnu.conf to make sure the right ordering is in-place (the compiler you've switched to/are running, first.) |
|
Back to top |
|
|
davidjtanner n00b
Joined: 15 Nov 2014 Posts: 3 Location: New York
|
Posted: Sun Nov 16, 2014 7:04 pm Post subject: |
|
|
gcc-config was pointing to gcc version 4.7.3. Changed it. Link still fails with the same undefined symbols.
-v for compiler run on failing link:
pop / # /usr/bin/x86_64-pc-linux-gnu-g++ -v
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.3/x86_64-pc-linux-gnu-g++
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.3/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.8.3/work/gcc-4.8.3/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/4.8.3/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.8.3 p1.1, pie-0.5.9' --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --enable-lto --without-cloog --enable-libsanitizer
Thread model: posix
gcc version 4.8.3 (Gentoo 4.8.3 p1.1, pie-0.5.9)
Current gcc-config:
pop / # gcc-config -l
[1] x86_64-pc-linux-gnu-4.6.3
[2] x86_64-pc-linux-gnu-4.7.3
[3] x86_64-pc-linux-gnu-4.8.3 *
Contents of /etc/ld.so.conf.d/05gcc-x86_64-pc-linux-gnu.conf:
//usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/32
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/32
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/32
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/ |
|
Back to top |
|
|
davidjtanner n00b
Joined: 15 Nov 2014 Posts: 3 Location: New York
|
Posted: Sun Nov 16, 2014 7:12 pm Post subject: |
|
|
Forgot to affirm that I logged off and on after I did gcc-config and env-update. ./etc/profile gave "permission denied".
I am running linux in VirtualBox under Win7. I am building in a terminal window under kde having done su.
I am an experienced sw engineer, but not as experienced with Linux as I am trying to become. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sat Nov 22, 2014 4:34 pm Post subject: |
|
|
OK, since you've just switched compiler, try the following:
Code: | emerge -a1 --nodeps sys-kernel/linux-headers # cancel if rebuild [R]
emerge -1 --nodeps sys-devel/binutils sys-libs/zlib
emerge -1 --nodeps sys-libs/glibc
# if you upgraded kernel headers do this again:
emerge -1 --nodeps sys-devel/binutils sys-libs/zlib
emerge -1 --nodeps dev-libs/gmp dev-libs/mpfr dev-libs/mpc |
If you get the error immediately on the first or second line, do the last line first, then run it again afterwards. If it won't run at all as 3 packages, do them in order, gmp first, mpc last.
Then run: Code: | emerge -1 --nodeps sys-devel/libtool sys-devel/gettext
emerge -1 --nodeps sys-libs/glibc # again
|
That should get you back up, though if you have perl to upgrade, you'd want to do that now. It's a whole other shebang, if it's an ABI upgrade (eg 5.18 -> 5.20), but post back if so.
Whatever you do, don't uninstall gcc-4.7.3 for a good few months. The change to 4.8 and especially 4.9 is dubious, so you'll want to keep that version around for a while. If you're not using FEATURES=buildpkg, I recommend you run qpkg on it (from portage-utils) once you're upgraded.
The error atm is in sys-devel/binutils, but the above is what I'd do post-compiler upgrade; usually automated by update though it's a bit more complex there. The latter post should clarify it more if you're interested. (Or possibly confuse the situation, but you said you're a s/w engineer.. ;)
HTH,
steveL |
|
Back to top |
|
|
|