dbetz / propeller-gcc

A port of GCC to the Parallax Propeller
GNU General Public License v3.0
8 stars 4 forks source link

Possible threading/multi process issue? #6

Open DavidZemon opened 8 years ago

DavidZemon commented 8 years ago

Once in a while, when I compile PropWare with make -j9, I get a failure the first time through. Usually that means I haven't declared dependencies correct and so something is being linked before the library really exists.... but that isn't the case here.

adcACpropab.s: Assembler messages:
adcACpropab.s:109: Error: junk at end of line, first unrecognized character is `,'

adcACpropab.s is not part of the source - that is the compiled assembly from PropGCC, coming from a file in the Simple library propsideworkspace/Learn/Simple_Libraries/Convert/libadcACpropab/adcACpropab.cogc. This is with a recent build of PropGCC GCC4 from my TeamCity server.

DavidZemon commented 8 years ago

Here's the relevant snippets from the (generated) Makefiles at the time of the error. Sorry for the insane includes line.... there's not much I can do about that.

COGC_FLAGS = -save-temps  -Os -m32bit-doubles -ffunction-sections -fdata-sections     -std=c99      

COGC_DEFINES = 

COGC_INCLUDES = -I/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/CMakeModules/.. -I/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/CMakeModules/../libpropeller -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/PropellerGCC/html" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Sensor/libsoundimpact" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Sensor/libmma7455" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Sensor/libping" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Sensor/librfidser" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Sensor/libgps" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Sensor/libmx2125" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Sensor/libcolorpal" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Sensor/libcompass3d" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Motor/libservoAux" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Motor/libservodiffdrive" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Motor/libservo" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Display/libvgatext" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Audio/libsound" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Audio/libtext2speech" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Audio/libwavplayer" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Convert/libadcDCpropab" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Convert/libabvolts" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Convert/libdacctr" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Convert/libadcACpropab" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Utility/libstacktest" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Utility/libsimpletools" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Protocol/libsimplei2c" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Social/libbadgetools" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/TextDevices/libsimpletext" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/TextDevices/libfdserial" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Misc/libmstimer" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Remote/libsirc" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Light/libws2812" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Time/libdatetime" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Robotics/ActivityBot/libabdrive" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Robotics/ActivityBot/libabcalibrate" -I"/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Utility/libsimpletools/source" 

external_libs/xmm-single/CMakeFiles/Simple_xmm-single.dir/__/__/propsideworkspace/Learn/Simple_Libraries/Convert/libadcACpropab/adcACpropab.cogc.cog: ../propsideworkspace/Learn/Simple\ Libraries/Convert/libadcACpropab/adcACpropab.cogc
    cd /home/david/reusable/Documents/Programming/PropellerProjects/PropWare/bin/external_libs/xmm-single && /opt/parallax/bin/propeller-elf-gcc  $(COGC_DEFINES)  -mcog -xc -r $(COGC_FLAGS) $(COGC_INCLUDES) -o CMakeFiles/Simple_xmm-single.dir/__/__/propsideworkspace/Learn/Simple_Libraries/Convert/libadcACpropab/adcACpropab.cogc.cog "/home/david/reusable/Documents/Programming/PropellerProjects/PropWare/propsideworkspace/Learn/Simple Libraries/Convert/libadcACpropab/adcACpropab.cogc"