pkgsrc-Bugs archive

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

Re: pkg/46478: www/curl does not compile on Solaris/sparc with compiler not configured with devel/libelf



The following reply was made to PR pkg/46478; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/46478: www/curl does not compile on Solaris/sparc with
 compiler not configured with devel/libelf
Date: Thu, 24 May 2012 18:39:43 +0000

 On Thu, May 24, 2012 at 07:25:00AM +0000, 
joern.clausen%uni-bielefeld.de@localhost wrote:
  > The actual error from config.log is
  > 
  > configure:20915: gcc -o conftest -O -I/usr/pkgsrc/20120411/include -g0 
-Wno-system-headers -I/usr/pkgsrc/20120411/include -I/usr/pkg
  > src/20120411/include   -L/usr/pkgsrc/20120411/lib 
-Wl,-R/usr/pkgsrc/20120411/lib -L/usr/pkgsrc/20120411/lib   conftest.c -lssl 
-lcry
  > pto -lrt -lsocket  -lnsl -lssl -lcrypto -lsocket -lnsl -ldl   >&5
  > ld: fatal: file /var/tmp//ccMkGiq4.o: unknown file type
  > ld: fatal: File processing errors. No output written to conftest
  > 
  > After removing devel/libelf, which was installed only as dependency
  > of devel/glib2, the problem is gone. NB that this problem does not
  > occur on Solaris/i86 with exactly the same setup.
 
 Do you have any idea how libelf is affecting gcc and/or native ld?
 That in theory at least shouldn't happen...
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index