← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 1228324] [NEW] Remove -march=i686 on Raspberry Pi

 

Public bug reported:

remove the -march=i686 argument when compiling for the Raspberry Pi;
otherwise it ends with the following error:

pi@owncloud ~ $ cd adchpp/
pi@owncloud ~/adchpp $ scons
scons: Reading SConscript files ...
Checking for C header file poll.h... (cached) no
Checking for C header file sys/epoll.h... (cached) no
Checking for pthread_create() in C library pthread... (cached) no
Checking for SSL_connect() in C library ssl... (cached) no
Checking for dlopen() in C library dl... (cached) no
Copy("/home/pi/adchpp/build/debug-default/bin/lua", "lua")
scons: *** /home/pi/adchpp/build/debug-default/bin/lua: File exists
[Errno 2] No such file or directory
Ruby not found, skipping ruby module
Python.h not found, not building python extension
scons: done reading SConscript files.
scons: Building targets ...
Compiling build/debug-default/adchpp/adchpp.h.gch (shared precompiled header)
cc1plus: error: bad value (i686) for -march switch
scons: *** [build/debug-default/adchpp/adchpp.h.gch] Error 1
scons: building terminated because of errors.

** Affects: adchpp
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to ADCH++.
https://bugs.launchpad.net/bugs/1228324

Title:
  Remove -march=i686 on Raspberry Pi

Status in ADCH++:
  New

Bug description:
  remove the -march=i686 argument when compiling for the Raspberry Pi;
  otherwise it ends with the following error:

  pi@owncloud ~ $ cd adchpp/
  pi@owncloud ~/adchpp $ scons
  scons: Reading SConscript files ...
  Checking for C header file poll.h... (cached) no
  Checking for C header file sys/epoll.h... (cached) no
  Checking for pthread_create() in C library pthread... (cached) no
  Checking for SSL_connect() in C library ssl... (cached) no
  Checking for dlopen() in C library dl... (cached) no
  Copy("/home/pi/adchpp/build/debug-default/bin/lua", "lua")
  scons: *** /home/pi/adchpp/build/debug-default/bin/lua: File exists
  [Errno 2] No such file or directory
  Ruby not found, skipping ruby module
  Python.h not found, not building python extension
  scons: done reading SConscript files.
  scons: Building targets ...
  Compiling build/debug-default/adchpp/adchpp.h.gch (shared precompiled header)
  cc1plus: error: bad value (i686) for -march switch
  scons: *** [build/debug-default/adchpp/adchpp.h.gch] Error 1
  scons: building terminated because of errors.

To manage notifications about this bug go to:
https://bugs.launchpad.net/adchpp/+bug/1228324/+subscriptions


Follow ups

References