pkgsrc-Users archive

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

Is there a way to compile gcc48 in a Raspberry pi (armv7)?

I am trying to compile gcc4.8 from pkgsrc in a raspberry pi 2 (NetBSD armv7.lenzicasa 7.99.71 NetBSD 7.99.71 (RPI2))
I built the system without the security.pax but with or without it I am unable to build the gcc48 (I need the gfortran executable) to
build fftw. the system builds several packages  as show... in pkg_info attach.
but when I build the devel/libtool-fortran, it tries to compile gcc48, and so gfortran48, but it the build aborts core .. 
the message is in the attach=abortmessage.txt
Please note that it runs for a while and builds the Xgcc (phase 1 compile). but not the phase 2. If I modify the code,
it aborts some lines after... 

Another problem is when I try to build openjdk7 (on the same armv7hf)  when finishing the build after several hours, 
it aborts and says that the VM cannot be initiated because of small stack.
A _JAVA_OPTIONS=Xss12m, Xss4m Xss256m... none worked too, I need to build the openjdk7 to build the openjdk8 and than
build mate (x11/mate)... 

a systcl -a | grep pax result in just ONE line of: proc.curproc.paxflags = 0

ANY ideas??? or someone can point me to a working gfortran  AND a openjdk8 package???

Thanks in advance,


cwrappers-20170112  pkgsrc compiler wrappers
digest-20160304     Message digest wrapper utility
m4-1.4.17           GNU version of UNIX m4 macro language processor
libtool-base-2.4.6  Generic shared library support script (the script itself)
rsync-3.1.2         Network file distribution/synchronisation utility
gettext-lib- Internationalized Message Handling Library (libintl)
pkgconf-1.0.1       API-driven pkg-config replacement
libffi-3.2.1nb2     Foreign function interface
gmake-4.1nb3        GNU version of 'make' utility
pkg_tarup-1.9.1     Generates binary package(s) from installed pkg(s)
perl-5.24.1         Practical Extraction and Report Language
p5-Scalar-List-Utils-1.47 Common Scalar and List utility subroutines
p5-CPAN-Meta-2.150010 Perl module for handling the distribution metadata for a CPAN dist
p5-inc-latest-0.500nb1 Use modules bundled in inc/ if they are newer than installed ones
p5-Module-Build-0.42200 Build and install Perl modules
p5-Perl4-CoreLibs-0.003nb6 Libraries historically supplied with Perl 4
openssl-1.0.2k      Secure Socket Layer and cryptographic library
mozilla-rootcerts-1.0.20160610 Root CA certificates from the Mozilla Project
readline-7.0        GNU library that can recall and edit previous input
python27-2.7.13nb1  Interpreted, interactive, object-oriented programming language
py27-sqlite3-2.7.13nb8 Built-in sqlite support for Python 2.5 and up
gettext-tools- Tools for providing messages in different languages
bison-3.0.4nb3      GNU yacc(1) replacement
bash-4.4.012        The GNU Bourne Again Shell
cscope-15.8anb2     Interactive C program browser
p5-gettext-1.07nb1  Perl5 module interface to C I18N functions
help2man-1.47.4     Generate simple manual pages from program output
autoconf-2.69nb7    Generates automatic source code configuration scripts
automake-1.15nb4    GNU Standards-compliant Makefile generator
bsdtar-3.3.1        Fast multi-format tape archiver
osabi-NetBSD-7.99.70 Operating System version dummy-package
x11-links-1.05      Shadow tree of links to native X11 headers and libraries
xmlcatmgr-2.2nb1    XML and SGML catalog manager
docbook-xml-4.5     XML DTD designed for computer documentation
docbook-xsl-1.79.1nb2 Docbook XSL modular stylesheet
getopt-1.1.6        Program to help shell scripts parse command-line parameters
libxml2-2.9.4nb2    XML parser library from the GNOME project
libgpg-error-1.27   Definitions of common error values for all GnuPG components
libgcrypt-1.7.6     GNU cryptographic library
libxslt-1.1.29nb1   XSLT parser library from the GNOME project
xmlto-0.0.28nb1     Tool to help transform XML documents into other formats
dbus-1.10.16        Message bus system
libelf-0.8.13nb1    ELF object file access library
pcre-8.40nb1        Perl Compatible Regular Expressions library
glib2-2.50.3        Some useful routines for C programming (glib2)
py27-cElementTree-2.7.13 C implementation of Python ElementTree API
py27-expat-2.7.13   Python interface to expat
gobject-introspection-1.50.0 GObject Introspection
atk-2.22.0          Set of interfaces for accessibility
lzo-2.10            Portable lossless data compression library
png-1.6.29          Library for manipulating PNG images
cairo-1.14.8        Vector graphics library with cross-device output support
libpaper-1.1.24     Paper size handling library
libusb1-1.0.20      USB Access Library (version 1)
gsed-4.4            GNU implementation of sed, the POSIX stream editor
openslp-1.2.1nb9    Open-source implementation of the Service Location Protocol
libidn-1.33         Internationalized Domain Names command line tool
curl-7.53.1         Client that groks URLs
libuv-1.11.0nb1     Cross-platform asychronous I/O
cmake-3.7.2         Cross platform make
jpeg-9b             IJG's jpeg compression utilities
jbigkit-2.1         JBIG-KIT lossless image compression library
tiff-4.0.7nb1       Library and tools for reading and writing TIFF data files
lcms2-2.8           Little Color Management System - a color management library
openjpeg-2.1.2      JPEG 2000 library
poppler-0.52.0      PDF rendering library
poppler-utils-0.52.0 PDF utilities (from poppler)
cups-1.5.4nb16      Common UNIX Printing System (1.5 branch)
gdk-pixbuf2-2.36.4  Image loaders for gtk2
cairo-gobject-1.14.8 Vector graphics library with cross-device output support
icu-58.2            Robust and full-featured Unicode services
harfbuzz-1.4.5      OpenType text shaping engine
pango-1.40.3nb2     Library for layout and rendering of text
p5-XML-Parser-2.44nb2 Perl extension interface to James Clark's XML parser, expat
intltool-0.51.0nb2  Internationalization Tool Collection
gtk2+-2.24.31nb2    GIMP Toolkit v2 - libraries for building X11 user interfaces
shared-mime-info-1.8 Core database of common types
libdaemon-0.14nb1   C library that eases the writing of UNIX daemons
dejavu-ttf-2.37     DejaVu family of TrueType fonts
dbus-glib-0.108     GLib bindings for the D-BUS message bus system
gdbus-codegen-2.50.3 Generate code and/or documentation for one or more D-Bus interfaces
nspr-4.13.1         Platform-neutral API for system level and libc like functions
spidermonkey17-17.0.0nb1 Standalone JavaScript implementation in C
polkit-0.113nb3     Authorization Manager
consolekit-1.0.2nb1 Framework for defining and tracking users, login sessions, and seats
dbus-python-common-1.2.4 Python bindings for the D-BUS message bus system
fftw-3.3.6pl1       Collection of fast C routines to compute DFTs
gmp-6.1.2           Library for arbitrary precision arithmetic
mpfr-3.1.5          GMP-based library for multiple-precision floating-point computations
mpcomplex-1.0.3     Multiprecision complex arithmetic library
gawk-4.1.4          GNU awk
gtar-base-1.29      The GNU tape archiver with remote magnetic tape support
gperf-3.1           GNU perfect hash function generator
boost-jam-1.63.0    Free, peer-reviewed portable C++ source libraries (Boost.Jam utility)
boost-headers-1.63.0 Free, peer-reviewed portable C++ source libraries (build-time headers)
printproto-1.0.5    Print extension headers from
libXp-1.0.3         X Print Service Extension Library
libltdl-2.4.6       Generic shared library support (libltdl abstraction library)
libunistring-0.9.7  Unicode string library
libatomic_ops-7.4.4 Multi-platform library of atomic operations by Hans Boehm
boehm-gc-7.6.0nb2   Garbage collection and memory leak detection for C and C++
guile20-2.0.14nb2   Official extension language for the GNU operating system (2.0 branch)
autogen-5.18.10nb2  The Automated Text and Program Generation Tool
libcfg+-0.7.0       Command line and configuration file parsing library
libtasn1-4.10       ASN.1 structure parser library
nettle-3.3          Cryptographic library
gnutls-3.5.9        GNU Transport Layer Security library
ttmkfdir2-20021109nb6 Tool that creates a fonts.scale file
unzip-6.0nb8        List, test and extract compressed files in a ZIP archive
zip-3.0nb3          Create/update ZIP files compatible with pkzip
userppp-001107nb3   User-PPP package as found in FreeBSD and OpenBSD
111 packags till now...
gmake[4]: Leaving directory '/sd0/work/lang/gcc48/work/build/armv7--netbsdelf-eabihf/libgcc'
/sd0/work/lang/gcc48/work/build/./gcc/xgcc -B/sd0/work/lang/gcc48/work/build/./gcc/ -B/usr/pkg/gcc48/armv7--netbsdelf-eabihf/bin/ -B/usr/pkg/gcc48/armv7--netbsdelf-eabihf/lib/ -isystem /usr/pkg/gcc48/armv7--netbsdelf-eabihf/include -isystem /usr/pkg/gcc48/armv7--netbsdelf-eabihf/sys-include    -g -O2 -Wno-error -Wno-unused-value -I/usr/include -I/usr/pkg/include -O2  -g -O2 -Wno-error -Wno-unused-value -I/usr/include -I/usr/pkg/include -DIN_GCC   -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fPIC -fomit-frame-pointer -g0 -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fPIC -fomit-frame-pointer -I. -I. -I../.././gcc -I../../../gcc-4.8.5/libgcc -I../../../gcc-4.8.5/libgcc/. -I../../../gcc-4.8.5/libgcc/../gcc -I../../../gcc-4.8.5/libgcc/../include  -DHAVE_CC_TLS  -o _lshrdi3.o -MT _lshrdi3.o -MD -MP -MF _lshrdi3.dep -DL_lshrdi3 -c ../../../gcc-4.8.5/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
In file included from ../../../gcc-4.8.5/libgcc/../gcc/tsystem.h:101:0,
                 from ../../../gcc-4.8.5/libgcc/libgcc2.c:27:
		 /sd0/work/lang/gcc48/work/build/gcc/include-fixed/stdlib.h:176:1: internal compiler error: Segmentation fault
		  void  lcong48(unsigned short[7]);

Home | Main Index | Thread Index | Old Index