• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compile with Optimization fails / timedate missing
#5
Just to close this:

Code:
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-march=native -O2 -fno-tree-sra -fno-unit-at-a-time -Wall -Werror=maybe-uninitialized" -DCMAKE_CXX_FLAGS="-march=native -O2 -fno-tree-sra -fno-unit-at-a-time -Wall -Werror=maybe-uninitialized"

in compile.sh will do just fine.

Without "-fno-tree-sra" compiler reports "maybe uninitialized" timedate vars - protocol is missing afterwards.
Without "-fno-unit-at-a-time" pilight-daemon reports:
Code:
[Apr 28 19:38:25:593489] pilight-daemon: ERROR: /usr/local/lib/pilight/storage/json/settings.lua: does not return a table
[Apr 28 19:38:25:593695] pilight-daemon: ERROR: /usr/local/lib/pilight/storage/json/registry.lua: does not return a table

No noticable loss by this -fnos, though... ignored.

Bye,
Stefan
 
Reply
  


Messages In This Thread
RE: Compile with Optimization fails / timedate missing - by fourty2 - 04-28-2019, 08:57 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Nightly versions less than 8.1.5-59 missing? felfert 4 132 07-28-2020, 07:50 PM
Last Post: felfert
  pilight fails starting on boot Alex 5 1,498 06-09-2019, 06:02 PM
Last Post: curlymo
  arctech_contact protocol missing open/close signals Niek 2 981 12-23-2017, 07:16 PM
Last Post: Niek
Question window sensor's very first signal goes missing baf 1 1,150 11-14-2017, 10:36 PM
Last Post: curlymo
  rule fails with ping state pinu 1 1,179 06-09-2017, 10:14 AM
Last Post: Niek
  cannot compile pilight on SLES 11.4 wseifert 0 979 06-09-2017, 05:59 AM
Last Post: wseifert
  config device #1 "living", missing protocol jjlf 5 2,431 11-08-2016, 11:55 PM
Last Post: jjlf
  new install fails - dev/nightly gneandr 11 10,662 01-29-2016, 11:30 AM
Last Post: WEBcast
  SSDP error and or missing protocol rudig 5 3,047 01-29-2016, 08:57 AM
Last Post: rudig

Forum Jump:


Browsing: 1 Guest(s)