Bug#618988: gcc-4.6 fixes for kfreebsd-*

2011-03-20 Thread Petr Salinger

Package: gcc-4.6
Version: 4.6.0~rc1-1
User: debian-...@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.6ver=4.6-20110227-1arch=hurd-i386stamp=1299424941file=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



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#618988: gcc-4.6 fixes for kfreebsd-*

2011-03-20 Thread Petr Salinger

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.


Oh, ld.gold is not available on kfreebsd-*.
But without liblto_plugin.* gcc-4.6 ends with

$ gcc-4.6 a.c
gcc-4.6: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated.

The liblto_plugin.* have to be installed on kfreebsd-* somehow.
or -fno-use-linker-plugin have to be default.

Petr




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#618988: gcc-4.6 fixes for kfreebsd-*

2011-03-20 Thread Petr Salinger

2) liblto_plugin.* is missing in generated gcc-4.6 binary package


The liblto_plugin.* have to be installed on kfreebsd-* somehow.
or -fno-use-linker-plugin have to be default.


I saw changes in SVN, the r5135 should fix it,
please from r5130 revert this:

gold_cpus = i386 i486 i586 i686 x86_64
ifneq (,$(filter $(DEB_TARGET_ARCH_CPU),$(gold_cpus)))
with_gold := yes
endif

Sorry for the noise.

Petr




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org