LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 04-03-2015, 09:21 AM   #16
JeroenVreeken
LQ Newbie
 
Registered: Mar 2015
Distribution: Slackware
Posts: 5

Rep: Reputation: Disabled

I am currently building a armhf port based on slackware64-current.
The build system is a beagle bone black with the slackwarearm minirootfs + most slackwarearm packages.
On top of that I started with the debian armhf gcc and glibc, but by now I am using the slackware packages.

see http://www.linuxquestions.org/questi...at-4175537630/
 
Old 04-03-2015, 09:33 AM   #17
drlukacs
Member
 
Registered: Oct 2012
Location: Halifax, NS, Canada
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 4
Quote:
Originally Posted by JeroenVreeken View Post
I am currently building a armhf port based on slackware64-current.
The build system is a beagle bone black with the slackwarearm minirootfs + most slackwarearm packages.
On top of that I started with the debian armhf gcc and glibc, but by now I am using the slackware packages.

see http://www.linuxquestions.org/questi...at-4175537630/
That sounds like a great project. I am working on building slackwarearm with softfp (which is the only way to ensure cross-compatibility with packages that have been compiled with soft).
 
Old 04-05-2015, 03:08 PM   #18
gus3
Member
 
Registered: Jun 2014
Distribution: Slackware
Posts: 490

Rep: Reputation: Disabled
Aha, I found an old 2G thumb drive, and made it swap space. Boost then built without a problem. (I don't know how long it took; I kinda forgot about it for a couple days.)
 
Old 04-05-2015, 04:56 PM   #19
drlukacs
Member
 
Registered: Oct 2012
Location: Halifax, NS, Canada
Distribution: Slackware
Posts: 34

Original Poster
Rep: Reputation: 4
Solution to the problem

The problem has been resolved as follows.
  1. recompiled gcc with "--with-fpu=neon-vfpv4"
  2. provided an explicit "-mfpu=neon-vfpv4" cflags and cxxflags to boost's bjam:
    Code:
       arm)     export SLKCFLAGS="-O2 $MARCH $MTUNE $MFLOAT $MFPU"
                export SLKARMFLAGS="--disable-long-double"
    
    [...]
    
    $BJAM \
      release \
      $NUMJOBS \
      "-sEXPAT_INCLUDE=/usr/include" \
      "-sEXPAT_LIBPATH=/usr/lib${LIBDIRSUFFIX}" \
      --layout=system \
      --builddir=obj \
      --prefix=$PKG/usr \
      --libdir=$PKG/usr/lib${LIBDIRSUFFIX} \
      --build-type=minimal \
      toolset=gcc \
      variant=release \
      link=shared \
      threading=multi \
      runtime-link=shared \
      cflags="$SLKCFLAGS" \
      cxxflags="$SLKCFLAGS $EXTRA_CXXFLAGS" \
      $SLKARMFLAGS \
      $PYTHON_FLAGS \
      install ## || exit 1   # skip failure - on ARM we fail on 1 target but update thousands of others.

Compiles perfectly now.
 
  


Reply

Tags
assembler, boost, compile error



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat 6 Boost Error when installing SW markcgriffiths Linux - Software 10 04-08-2014 09:36 AM
Error installing due to boost lib cecillord Linux - Newbie 6 10-02-2013 11:24 AM
Compilation errors with compiling a program with boost libraries 1.39 Metal_Koola Programming 5 12-04-2009 07:13 PM
HL-RDHM/BOOST installation error safeeq Linux - Software 1 07-23-2009 05:37 AM
configure: error: Could not find Boost headers version >= 1.33 ????? BULPulse Slackware 2 03-11-2008 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration