pkgsrc-Users archive

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

Re: lang/gcc-aux fails on something related to libiconv

On Fri, Aug 15, 2014 at 02:39:05PM +0000, Thomas Mueller wrote:
> I tried to compile lang/gcc-aux for NetBSD,-current amd64, now at 7.99.1, and 
> failed on something related to libiconv, even though I had just built 
> converters/libiconv from pkgsrc.

> Usually, you don't need or want libiconv installed, because NetBSD
> provides a native iconv library.
> Does it work if you "pkg_delete libiconv"?
>  Thomas (Klausner)

I tried, got a different error:

# @multilib_flags@ is still needed because this may use
# /BETA1/pkgsrc/lang/gcc-aux/work799.amd64/build/./gcc/xgcc 
-B/usr/pkg/gcc-aux/x86_64-aux-netbsd7.99.1/lib/ -isystem 
/usr/pkg/gcc-aux/x86_64-aux-netbsd7.99.1/include -isystem 
/usr/pkg/gcc-aux/x86_64-aux-netbsd7.99.1/sys-include    and -O2  -g -O2 
-DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual 
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem 
./include   -fpic -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector  
# @multilib_dir@ is not really necessary, but sometimes it has
# more uses than just a directory name.
/BETA1/pkgsrc/lang/gcc-aux/work799.amd64/gcc-4.9.0/libgcc/../mkinstalldirs .
-B/usr/pkg/gcc-aux/x86_64-aux-netbsd7.99.1/lib/ -isystem 
/usr/pkg/gcc-aux/x86_64-aux-netbsd7.99.1/include -isystem 
/usr/pkg/gcc-aux/x86_64-aux-netbsd7.99.1/sys-include    -O2  -g -O2 -DIN_GCC    
-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes 
-Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fpic -g 
-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector  -shared -nodefaultlibs 
-Wl, -Wl, -o 
./ -g -O2 -B./ _muldi3_s.o _negdi2_s.o _lshrdi3_s.o 
_ashldi3_s.o _ashrdi3_s.o _cmpdi2_s.o _ucmpdi2_s.o _clear_cache_s.o 
_trampoline_s.o __main_s.o _absvsi2_s.o _absvdi2_s.o _addvsi3_s.o _addvdi3_s.o 
_subvsi3_s.o _subvdi3_s.o _mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o 
_ctors_s.o _ffssi2_s.o _ffsdi2_s.o _clz_s.o _clzsi2_s.
 o _clzdi2_s.o _ctzsi2_s.o _ctzdi2_s.o _popcount_tab_s.o _popcountsi2_s.o 
_popcountdi2_s.o _paritysi2_s.o _paritydi2_s.o _powisf2_s.o _powidf2_s.o 
_powixf2_s.o _powitf2_s.o _mulsc3_s.o _muldc3_s.o _mulxc3_s.o _multc3_s.o 
_divsc3_s.o _divdc3_s.o _divxc3_s.o _divtc3_s.o _bswapsi2_s.o _bswapdi2_s.o 
_clrsbsi2_s.o _clrsbdi2_s.o _fixunssfsi_s.o _fixunsdfsi_s.o _fixunsxfsi_s.o 
_fixsfdi_s.o _fixdfdi_s.o _fixxfdi_s.o _fixtfdi_s.o _fixunssfdi_s.o 
_fixunsdfdi_s.o _fixunsxfdi_s.o _fixunstfdi_s.o _floatdisf_s.o _floatdidf_s.o 
_floatdixf_s.o _floatditf_s.o _floatundisf_s.o _floatundidf_s.o 
_floatundixf_s.o _floatunditf_s.o _divdi3_s.o _moddi3_s.o _udivdi3_s.o 
_umoddi3_s.o _udiv_w_sdiv_s.o _udivmoddi4_s.o cpuinfo_s.o 
enable-execute-stack_s.o unwind-dw2_s.o unwind-dw2-fde-dip_s.o unwind-sjlj_s.o 
unwind-c_s.o emutls_s.o libgcc.a -lc && rm -f ./ && if [ -f 
./ ]; then mv -f ./ ./; else 
true; fi && mv ./ ./ &&
  ln -s ./
/usr/pkg/bin/ fatal error: ./ Unknown error: 
collect2: error: ld returned 1 exit status
Makefile:937: recipe for target '' failed
gmake[4]: *** [] Error 1
gmake[4]: Leaving directory 
Makefile:11197: recipe for target 'all-target-libgcc' failed
gmake[3]: *** [all-target-libgcc] Error 2
gmake[3]: Leaving directory '/BETA1/pkgsrc/lang/gcc-aux/work799.amd64/build'
Makefile:858: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/BETA1/pkgsrc/lang/gcc-aux/work799.amd64/build'
*** Error code 2

make[1]: stopped in /BETA1/pkgsrc/lang/gcc-aux
*** Error code 1

make: stopped in /BETA1/pkgsrc/lang/gcc-aux


Home | Main Index | Thread Index | Old Index