Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 442582 - sys-devel/boost-m4 fails checks with gold because of underlinking
Summary: sys-devel/boost-m4 fails checks with gold because of underlinking
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nathan Phillip Brink (binki) (RETIRED)
URL:
Whiteboard:
Keywords:
: 442750 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-11-10 10:15 UTC by Justin Lecher (RETIRED)
Modified: 2012-11-30 09:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,391.91 KB, text/plain)
2012-11-11 15:55 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2012-11-10 10:15:44 UTC
configure:18842: x86_64-pc-linux-gnu-g++ -o conftest -O2 -pipe -ftracer -march=corei7-avx -mtune=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -frecord-gcc-switches -g -Wenum-compare -pthread  -DPOVLIBDIR=\"/usr/share/povray\" -DPOVCONFDIR=\"/etc/povray\" -pthread  -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -L/lib64 conftest.o -lboost_thread-d  -pthread  -pthread >&5
conftest.cpp:38: error: undefined reference to 'boost::thread::thread()'
/usr/include/boost/system/error_code.hpp:214: error: undefined reference to 'boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:215: error: undefined reference to 'boost::system::generic_category()'
/usr/include/boost/system/error_code.hpp:216: error: undefined reference to 'boost::system::system_category()'
collect2: error: ld returned 1 exit status
configure:18851: $? = 1
configure:18891: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "POV-Ray"
| #define PACKAGE_TARNAME "povray"
| #define PACKAGE_VERSION "3.7.0.RC5"
| #define PACKAGE_STRING "POV-Ray 3.7.0.RC5"
| #define PACKAGE_BUGREPORT "unix-bugreports-2011@povray.org"
| #define PACKAGE_URL ""
| #define VERSION_BASE "3.7"
| #define DISTRIBUTION_MESSAGE_2 " Portage (Gentoo Linux) on leo.local"
| #define PACKAGE "povray"
| #define VERSION "3.7.0.RC5"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define BUILD_ARCH "x86_64-pc-linux-gnu"
| #define COMPILER_VENDOR "gnu"
| #define COMPILER_VERSION "x86_64-pc-linux-gnu-g++ 4.7.2"
| #define COMPILER_VER " (x86_64-pc-linux-gnu-g++ 4.7.2 @ x86_64-pc-linux-gnu)"
| #define HAVE_PTHREAD 1
| #define HAVE_BOOST 1
| #define HAVE_BOOST_THREAD_HPP 1
| /* end confdefs.h.  */
| #include <boost/thread.hpp>
| 
| int
| main ()
| {
| boost::thread t; boost::mutex m;
|   ;
|   return 0;
| }
configure:18897: error: cannot find the flags to link with Boost thread
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2012-11-11 15:55:27 UTC
Created attachment 329236 [details]
config.log

config.log
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2012-11-30 09:35:12 UTC
+*boost-m4-0.3_pre121130 (30 Nov 2012)
+
+  30 Nov 2012; Justin Lecher <jlec@gentoo.org> +boost-m4-0.3_pre121130.ebuild,
+  metadata.xml:
+  Add latest snapshot; fixes compilation with >gcc-4.6; fixes gold issues,
+  #442582
+
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2012-11-30 09:35:56 UTC
*** Bug 442750 has been marked as a duplicate of this bug. ***