pkgsrc-WIP-review archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wip/gcc45: test results on NetBSD
Hello!
"Kai-Uwe Eckhardt" <kuehro%gmx.de@localhost> writes:
> make test on NetBSD showed 1524 errors due to libelf problems in
> the gcc tests. I have added the following three lines in Makefile
> for local testing after installing devel/libelf and devel/binutils.
> FreeBSD ports also uses this strategy since gcc-4.4. Well, this
> reduces the number of failures in gcc tests by 1524. gfortran is unaffected.
>
> CONFIGURE_ARGS+= --with-as=${PREFIX}/bin/gnu-as
> CONFIGURE_ARGS+= --with-ld=${PREFIX}/bin/gnu-ld
> CONFIGURE_ARGS+= --with-libelf=${PREFIX}
>
> Using binutils should help in maintaining this package for different
> platforms, but I guess there were good reasons to stay away from this
> in lang/gcc44.
I still cannot build lang/gcc44, and am able to build wip/gcc45 only on
one system of four at hand today. This patch helps a little, but doesn't
fix all problems:
--- gcc/libgcc2.c.orig 2009-09-24 23:00:44.000000000 +0400
+++ gcc/libgcc2.c 2011-03-02 00:19:50.000000000 +0300
@@ -29,6 +29,7 @@
#include "tsystem.h"
#include "coretypes.h"
#include "tm.h"
+#include "defaults.h"
#ifdef HAVE_GAS_HIDDEN
#define ATTRIBUTE_HIDDEN __attribute__ ((__visibility__ ("hidden")))
I need gcc>=4.3 for work nowadays, thus I'll look more at fixing these two
packages.
(Could it be that lang/gcc44 and wip/gcc45 interact with installed packages?
Perhaps something I don't have installed and you do.)
--
HE CE3OH...
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review
Home |
Main Index |
Thread Index |
Old Index