Bug#618988: gcc-4.6 fixes for kfreebsd-*
Package: gcc-4.6
Version: 4.6.0~rc1-1
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
Hi,
1) problem during testing of libgomp in 32 bit mode
Please "disable" the problematic test.
Tested on kfreebsd-amd64.
--- a/src/libgomp/testsuite/libgomp.c/lock-2.c
+++ b/src/libgomp/testsuite/libgomp.c/lock-2.c
@@ -4,6 +4,9 @@
int
main (void)
{
+#ifdef __FreeBSD_kernel__
+ return 1;
+#endif
int l = 0;
omp_nest_lock_t lock;
omp_init_nest_lock (&lock);
2) liblto_plugin.* is missing in generated gcc-4.6 binary package
Please add "kfreebsd-i386 kfreebsd-amd64" into
"gold_archs" in debian/rules.defs or test against
DEB_TARGET_ARCH_CPU instead of DEB_TARGET_ARCH for
"with_gold".
The liblto_plugin.so.0.0.0 have been also built on hurd
https://buildd.debian.org/fetch.cgi?&pkg=gcc-4.6&ver=4.6-20110227-1&arch=hurd-i386&stamp=1299424941&file=log
Therefore DEB_TARGET_ARCH_CPU seems to be the right choice.
3) parallel build
I believe (untested) that the parallel build
can be enabled again - please revert r5074 from SVN.
Thanks
Petr
Reply to: