Re: wip/gcc45: test results on NetBSD
Aleksej Saushev <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.wip.review |
|---|---|
| Message-ID | <[email protected]> |
Hello! "Kai-Uwe Eckhardt" <[email protected]> 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