Shop OBEX P1 Docs P2 Docs Learn Events
fpucog.c from Learn and "-Os" — Parallax Forums

fpucog.c from Learn and "-Os"

DavidZemonDavidZemon Posts: 2,973
edited 2014-07-19 20:17 in Propeller 1
Is it expected that fpucog.c fails when compiled with -Os or is that a bug? Here's the output when attempting to compile:
david@balrogJr$ propeller-elf-gcc -Os -mcmm -g -Wall -o fpucog.o -c ../fpucog.c
/tmp/cczKa91d.s: Assembler messages:
/tmp/cczKa91d.s:2564: Error: operation combines symbols in different segments
/tmp/cczKa91d.s:2565: Error: operation combines symbols in different segments
/tmp/cczKa91d.s:2569: Error: operation combines symbols in different segments
/tmp/cczKa91d.s:2570: Error: operation combines symbols in different segments
/tmp/cczKa91d.s:2577: Error: operation combines symbols in different segments
........
........
........
........

Removing "-Os" fixes all problems, but that makes flexible builds very difficult.

Comments

  • DavidZemonDavidZemon Posts: 2,973
    edited 2014-07-19 20:17
    Nevermind. fpucog.c has been removed from the most recent Learn folder but I wasn't removing old files.
Sign In or Register to comment.