[Top][All Lists]

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

[fluid-dev] Raspbian / Pi Zero - force hard float compile?

From: Geoff Plitt
Subject: [fluid-dev] Raspbian / Pi Zero - force hard float compile?
Date: Tue, 29 May 2018 16:08:35 -0700

I'm running FluidSynth v2.0.0.beta1 on Raspberry Pi Zero (ARM, 1 core), trying to play a few sample MIDIs with the "General User" soundfont (http://schristiancollins.com/generaluser.php) and the CPU gets hosed, stuttering begins, etc.

I suspect the problem is it's running in soft-float mode.

The system reports its specs as:
$ uname -a
Linux raspberrypi 4.14.34+ #1110 Mon Apr 16 14:51:42 BST 2018 armv6l GNU/Linux

Does "armv6l" mean the kernel supports hard-float or not? I'm a bit confused by it. Another command I'm told can show "hard float" capability says:

$ readelf -A $(which dpkg)
Attribute Section: aeabi
File Attributes
  Tag_CPU_name: "6"
  Tag_CPU_arch: v6
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-1
  Tag_FP_arch: VFPv2
  Tag_ABI_PCS_wchar_t: 4
  Tag_ABI_FP_rounding: Needed
  Tag_ABI_FP_denormal: Needed
  Tag_ABI_FP_exceptions: Needed
  Tag_ABI_FP_number_model: IEEE 754
  Tag_ABI_align_needed: 8-byte
  Tag_ABI_align_preserved: 8-byte, except leaf SP
  Tag_ABI_enum_size: int
  Tag_ABI_VFP_args: VFP registers
  Tag_CPU_unaligned_access: v6

So I'm wondering if the Kernel is soft-float only (I need to find a better OS), or if I've mis-compiled FluidSynth.

Here's how I compile FluidSynth, is there a flag I'm missing to enable ARM hard-float?

wget https://github.com/FluidSynth/fluidsynth/archive/v2.0.0.beta1.tar.gz -O fluidsynth.tar.gz
tar xvzf fluidsynth.tar.gz
sudo apt-get update
sudo apt-get install -y build-essential cmake libasound2-dev libfluidsynth-dev
cd fluidsynth-2.0.0.beta1 && mkdir build && cd build && cmake ..
cd fluidsynth-2.0.0.beta1 && cd build && sudo make install

Any help appreciated, thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]