pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/perl5 failure only in bulk build



Oliver Gould <ogould%cs.stevens.edu@localhost> wrote:
 
> The log from the failed build is at:
>       http://www.cs.stevens.edu/~ogould/bulk-2006-12-21-fail.txt

> Checking your choice of C compiler and flags for coherency...
> ./Configure: line 5028: 27635 Bus error               $sh -c "$run
> ./try" >>try.msg 2>&1
> I've tried to compile and run the following simple program:
> 
> #include <stdio.h>
> int main() { printf("Ok\n"); return(0); }
> 
> I used the command:
> 
>       gcc -o try -pipe -O2 -D_REENTRANT -I/usr/include -fno-common
> -DPERL_DARWIN -no-cpp-precomp try.c -lm -lc -lpthread
>        ./try
> 
> and I got the following output:
> 
> The program compiled OK, but exited with status 138.
> You have a problem.  Shall I abort Configure [y]  
> Ok.  Stopping Configure.

Go into the actual build directory and try to compile it manually before
you run it.  If that succeeds, try to compile it with setting your CC
environment variable to the cc-wrapper in the build directory
(workdir/.wrapper/bin/cc or possibly workdir/.buildlink/bin/cc or
something like that, I forgot which one is actually invoked these days).

Also check the full log (workdir/.work.log) to see what flags it my pass
that you don't see and then try to go from there by trying to track down
which one might cause the problem.

-Jan

-- 
chown -R us:enemy your_base

Attachment: pgpszr_1y2GK_.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index