pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/51383: sys/cdefs.h not found on ubuntu
The following reply was made to PR pkg/51383; it has been noted by GNATS.
From: Patrick Welche <prlw1%cam.ac.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/51383: sys/cdefs.h not found on ubuntu
Date: Fri, 5 Aug 2016 10:40:42 +0100
I should have included the line just above the errors:
/home/prlw1/pkgsrc/lang/gcc48/work/build/./gcc/xgcc
-B/home/prlw1/pkgsrc/lang/gcc48/work/build/./gcc/
-B/home/prlw1/pkg/gcc48/x86_64-debian-linux/bin/
-B/home/prlw1/pkg/gcc48/x86_64-debian-linux/lib/
-isystem /home/prlw1/pkg/gcc48/x86_64-debian-linux/include
-isystem /home/prlw1/pkg/gcc48/x86_64-debian-linux/sys-include
-g -O2
-I/usr/include
-I/home/prlw1/pkg/include
-O2 -g -O2
-I/usr/include
-I/home/prlw1/pkg/include
-DIN_GCC
-W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition
-isystem ./include
-fpic
-mlong-double-80
-g
-DIN_LIBGCC2
-fbuilding-libgcc
-fno-stack-protector
-fpic
-mlong-double-80
-I.
-I.
-I../.././gcc
-I../../../gcc-4.8.4/libgcc
-I../../../gcc-4.8.4/libgcc/.
-I../../../gcc-4.8.4/libgcc/../gcc
-I../../../gcc-4.8.4/libgcc/../include
-I../../../gcc-4.8.4/libgcc/config/libbid
-DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS
-o _absvdi2.o
-MT _absvdi2.o -MD -MP -MF _absvdi2.dep -DL_absvdi2
-c ../../../gcc-4.8.4/libgcc/libgcc2.c
-fvisibility=hidden
-DHIDE_EXPORTS
$ tail -2 .work.log
[*] /home/prlw1/pkgsrc/lang/gcc48/work/.wrapper/bin/cc /home/prlw1/pkgsrc/lang/gcc48/work/.wrapper/bin/cc --version
<.> /home/prlw1/pkgsrc/lang/gcc48/work/.gcc/bin/gcc --version -m64 -I/home/prlw1/pkgsrc/lang/gcc48/work/.buildlink/include -L/home/prlw1/pkgsrc/lang/gcc48/work/.buildlink/lib
(USE_CWRAPPERS=no)
I wonder what "-fbuilding-libgcc" does...
It doesn't look as though anything is switching off gcc version 5.4.0
20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.1)'s default search path...
(BTW I'm only trying to do this because if you want to build anything involving
fortran, it seems you need to PKGSRC_FORTRAN=gfortran, and that seems to insist
on gcc48 even if gcc5 is installed - I haven't tried to build lang/gcc5 on linux
yet, but that explains why not.)
Home |
Main Index |
Thread Index |
Old Index