[GELÖST]Fehler bei kompilieren von FCL nach Xcode Update

Für Installationen unter MacOS u.a. Betriebssystemen
Antworten
Warf
Beiträge: 1908
Registriert: Di 23. Sep 2014, 17:46
OS, Lazarus, FPC: Win10 | Linux
CPU-Target: x86_64

[GELÖST]Fehler bei kompilieren von FCL nach Xcode Update

Beitrag von Warf »

Hey ho Leute,

ich habe auf meinem Mac demletzt Xcode auf version 7 geupdated mit dem Resultat dass sich nun die FCL nicht mehr kompilieren lässt.
Der Fehler liegt an nicht unterstützter Direktive .stabs und nicht bekannten Direktiven .stabn und .stabd

ich gehe davon aus dass das mit neuen Versionen von clang oder des gcc zu tun hat.

Nun kenne ich mich mit diesen beiden Programmen nur recht wenig aus, weiß einer von euch wie ich das fixen kann?

Das ist der Compiler Output bei einem make von Lazarus:

Code: Alles auswählen

Free Pascal Compiler version 3.0.0rc1 [2015/08/11] for i386
Copyright (c) 1993-2015 by Florian Klaempfl and others
(1002) Target OS: Darwin for i386
(3104) Compiling fcllaz.pas
(3104) Compiling registerfcl.pas
(3104) Compiling lazaruspackageintf.pas
(9001) Assembling (pipe) ../units/i386-darwin/lazaruspackageintf.s
<stdin>:5:9: error: unsupported directive '.stabs'
        .stabs "/Developer/FreePascal/lazarus/packager/registration/",100,0,0,Lf8
               ^
<stdin>:6:9: error: unsupported directive '.stabs'
        .stabs "lazaruspackageintf.pas",100,0,0,Lf8
               ^
<stdin>:14:9: error: unsupported directive '.stabs'
        .stabs "void:t7=7",128,0,0,0
               ^
<stdin>:15:9: error: unsupported directive '.stabs'
        .stabs "LONGINT:t9=r9;-2147483648;2147483647;",128,0,0,0
               ^
<stdin>:16:9: error: unsupported directive '.stabs'
        .stabs "CHAR:t10=-20;",128,0,0,0
               ^
<stdin>:17:9: error: unsupported directive '.stabs'
        .stabs "BYTE:t11=@s8;r11;0;255;",128,0,0,0
               ^
<stdin>:18:9: error: unsupported directive '.stabs'
        .stabs "ANSISTRING:t8=*10",128,0,0,0
               ^
<stdin>:49:9: error: unsupported directive '.stabs'
        .stabs "SHORTSTRING:t12=s256length:11,0,8;st:ar11;1;255;10,8,2040;;",128,0,0,0
               ^
<stdin>:50:9: error: unsupported directive '.stabs'
        .stabs ":t13=*12",128,0,0,0
               ^
<stdin>:51:9: error: unsupported directive '.stabs'
        .stabs "POINTER:t14=*7",128,0,0,0
               ^
<stdin>:52:9: error: unsupported directive '.stabs'
        .stabs ":t15=ar9;0;0;14",128,0,0,0
               ^
<stdin>:53:9: error: unsupported directive '.stabs'
        .stabs "__vtbl_ptr_type:Tt16=s2;",128,0,0,0
               ^
<stdin>:54:9: error: unsupported directive '.stabs'
        .stabs "pvmt:t17=*16",128,0,0,0
               ^
<stdin>:55:9: error: unsupported directive '.stabs'
        .stabs "vtblarray:t18=ar9;0;1;17",128,0,0,0
               ^
<stdin>:56:9: error: unsupported directive '.stabs'
        .stabs "TOBJECT:Tt19=s4$vf19:18,0;CREATE::21=##20;:__ct__7TOBJECT7POINTER;2A.;DESTROY::22=##7;:__dt__7TOBJECT7POINTER;2A*0;19;;NEWINSTANCE::23=##20;:11unnamedtype;2A*1;19;;FREEINSTANCE::24=##7;:7TOBJECT;2A*2;19;;SAFECALLEXCEPTION::25=##26;:7TOBJECT7TOBJECT7POINTER;2A*3;19;;DEFAULTHANDLER::27=##7;:7TOBJECT3var;2A*4;19;;FREE::28=##7;:7TOBJECT;2A.;INITINSTANCE::29=##20;:11unnamedtype7POINTER;2A.;CLEANUPINSTANCE::30=##7;:7TOBJECT;2A.;CLASSTYPE::31=##32;:11unnamedtype;2A.;CLASSINFO::33=##14;:11unnamedtype;2A.;CLASSNAME::34=##12;:11unnamedtype11SHORTSTRING;2A.;CLASSNAMEIS::35=##36;:11unnamedtype11SHORTSTRING;2A.;CLASSPARENT::37=##32;:11unnamedtype;2A.;INSTANCESIZE::38=##9;:11unnamedtype;2A.;INHERITSFROM::39=##36;:11unnamedtype6TCLASS;2A.;STRINGMESSAGETABLE::40=##41;:11unnamedtype;2A.;METHODADDRESS::42=##14;:11unnamedtype11SHORTSTRING;2A.;METHODNAME::43=##12;:11unnamedtype7POINTER11SHORTSTRING;2A.;FIELDADDRESS::44=##14;:7TOBJECT11SHORTSTRING;2A.;AFTERCONSTRUCTION::45=##7;:7TOBJECT;2A*5;19;;BEFOREDESTRUCTION::46=##7;:7TOBJECT;2A*6;19;;DEFAULTHANDLERSTR::47=##7;:7TOBJECT3var;2A*7;19;;DISPATCH::48=##7;:7TOBJECT3var;2A*8;19;;DISPATCHSTR::49=##7;:7TOBJECT3var;2A*9;19;;GETINTERFACE::50=##36;:7TOBJECT5TGUID3out;2A.;GETINTERFACEBYSTR::51=##36;:7TOBJECT11SHORTSTRING3out;2A.;GETINTERFACEWEAK::52=##36;:7TOBJECT5TGUID3out;2A.;GETINTERFACEENTRY::53=##54;:11unnamedtype5TGUID;2A.;GETINTERFACEENTRYBYSTR::55=##54;:11unnamedtype11SHORTSTRING;2A.;GETINTERFACETABLE::56=##57;:11unnamedtype;2A.;UNITNAME::58=##8;:11unnamedtype10ANSISTRING;2A.;EQUALS::59=##36;:7TOBJECT7TOBJECT;2A*10;19;;GETHASHCODE::60=##9;:7TOBJECT;2A*11;19;;TOSTRING::61=##8;:7TOBJECT10ANSISTRING;2A*12;19;;;~%19;",128,0,0,0
               ^
<stdin>:57:9: error: unsupported directive '.stabs'
        .stabs ":Tt20=*19",128,0,0,0
               ^
<stdin>:58:9: error: unsupported directive '.stabs'
        .stabs "vmt_SYSTEMTOBJECT:S16",40,0,0,_VMT_$SYSTEM_$$_TOBJECT
               ^
<stdin>:59:9: error: unsupported directive '.stabs'
        .stabs "TPOINTERLIST:t62=ar9;0;134217726;14",128,0,0,0
               ^
<stdin>:60:9: error: unsupported directive '.stabs'
        .stabs "PPOINTERLIST:t63=*62",128,0,0,0
               ^
<stdin>:61:9: error: unsupported directive '.stabs'
        .stabs "TFPLIST:Tt5=s16!1,020,19;FLIST:/063,32,32;FCOUNT:/09,64,32;FCAPACITY:/09,96,32;COPYMOVE::64=##7;:7TFPLIST7TFPLIST;2A.;MERGEMOVE::65=##7;:7TFPLIST7TFPLIST;2A.;DOCOPY::66=##7;:7TFPLIST7TFPLIST7TFPLIST;2A.;DOSRCUNIQUE::67=##7;:7TFPLIST7TFPLIST7TFPLIST;2A.;DOAND::68=##7;:7TFPLIST7TFPLIST7TFPLIST;2A.;DODESTUNIQUE::69=##7;:7TFPLIST7TFPLIST7TFPLIST;2A.;DOOR::70=##7;:7TFPLIST7TFPLIST7TFPLIST;2A.;DOXOR::71=##7;:7TFPLIST7TFPLIST7TFPLIST;2A.;GET::72=##14;:7TFPLIST7LONGINT;2A.;PUT::73=##7;:7TFPLIST7LONGINT7POINTER;2A.;SETCAPACITY::74=##7;:7TFPLIST7LONGINT;2A.;SETCOUNT::75=##7;:7TFPLIST7LONGINT;2A.;RAISEINDEXERROR::76=##7;:7TFPLIST7LONGINT;2A.;DESTROY::77=##7;:__dt__7TFPLIST7POINTER;2A*0;5;;ADDLIST::78=##7;:7TFPLIST7TFPLIST;2A.;ADD::79=##9;:7TFPLIST7POINTER;2A.;CLEAR::80=##7;:7TFPLIST;2A.;DELETE::81=##7;:7TFPLIST7LONGINT;2A.;ERROR::82=##7;:11unnamedtype10ANSISTRING7LONGINT;2A.;EXCHANGE::83=##7;:7TFPLIST7LONGINT7LONGINT;2A.;EXPAND::84=##6;:7TFPLIST;2A.;EXTRACT::85=##14;:7TFPLIST7POINTER;2A.;FIRST::86=##14;:7TFPLIST;2A.;GETENUMERATOR::87=##89;:7TFPLIST;2A.;INDEXOF::90=##9;:7TFPLIST7POINTER;2A.;INDEXOFITEM::91=##9;:7TFPLIST7POINTER10TDIRECTION;2A.;INSERT::92=##7;:7TFPLIST7LONGINT7POINTER;2A.;LAST::93=##14;:7TFPLIST;2A.;MOVE::94=##7;:7TFPLIST7LONGINT7LONGINT;2A.;ASSIGN::95=##7;:7TFPLIST7TFPLIST13TLISTASSIGNOP7TFPLIST;2A.;REMOVE::96=##9;:7TFPLIST7POINTER;2A.;PACK::97=##7;:7TFPLIST;2A.;SORT::98=##7;:7TFPLIST16TLISTSORTCOMPARE;2A.;FOREACHCALL::99=##7;:7TFPLIST13TLISTCALLBACK7POINTER;2A.;;~%19;",128,0,0,0
               ^
<stdin>:62:9: error: unsupported directive '.stabs'
        .stabs ":Tt6=*5",128,0,0,0
               ^
<stdin>:63:9: error: unsupported directive '.stabs'
        .stabs "vmt_CLASSESTFPLIST:S16",40,0,0,_VMT_$CLASSES_$$_TFPLIST
               ^
<stdin>:64:9: error: unsupported directive '.stabs'
        .stabs "TFPLISTENUMERATOR:Tt88=s12!1,020,19;FLIST:/06,32,32;FPOSITION:/09,64,32;CREATE::100=##89;:__ct__17TFPLISTENUMERATOR7POINTER7TFPLIST;2A.;GETCURRENT::101=##14;:17TFPLISTENUMERATOR;2A.;MOVENEXT::102=##36;:17TFPLISTENUMERATOR;2A.;;~%19;",128,0,0,0
               ^
<stdin>:65:9: error: unsupported directive '.stabs'
        .stabs ":Tt89=*88",128,0,0,0
               ^
<stdin>:66:9: error: unsupported directive '.stabs'
        .stabs "vmt_CLASSESTFPLISTENUMERATOR:S16",40,0,0,_VMT_$CLASSES_$$_TFPLISTENUMERATOR
               ^
<stdin>:69:9: error: unsupported directive '.stabs'
        .stabs ":t1=*f7",128,0,0,0
               ^
<stdin>:70:9: error: unsupported directive '.stabs'
        .stabs ":t2=*f7",128,0,0,0
               ^
<stdin>:71:9: error: unsupported directive '.stabs'
        .stabs ":Tt3=s8NAME:8,0,32;REGISTERPROC:1,32,32;",128,0,0,0
               ^
<stdin>:72:9: error: unsupported directive '.stabs'
        .stabs ":t4=*3",128,0,0,0
               ^
<stdin>:76:9: error: unsupported directive '.stabs'
        .stabs "HRESULT:t26=r26;-2147483648;2147483647;",128,0,0,0
               ^
<stdin>:77:9: error: unsupported directive '.stabs'
        .stabs "pvmt:t17=*16",128,0,0,0
               ^
<stdin>:78:9: error: unsupported directive '.stabs'
        .stabs "BOOLEAN:t36=-21;",128,0,0,0
               ^
<stdin>:79:9: error: unsupported directive '.stabs'
        .stabs "SHORTINT:t103=@s8;r103;-128;127;",128,0,0,0
               ^
<stdin>:80:9: error: unsupported directive '.stabs'
        .stabs "PSHORTSTRING:t104=*12",128,0,0,0
               ^
<stdin>:81:9: error: unsupported directive '.stabs'
        .stabs "TMSGSTRTABLE:Tt105=s8NAME:104,0,32;METHOD:14,32,32;",128,0,0,0
               ^
<stdin>:82:9: error: unsupported directive '.stabs'
        .stabs ":t106=ar@s64;103;0;0;105",128,0,0,0
               ^
<stdin>:83:9: error: unsupported directive '.stabs'
        .stabs "TSTRINGMESSAGETABLE:Tt107=s12COUNT:9,0,32;MSGSTRTABLE:106,32,64;",128,0,0,0
               ^
<stdin>:84:9: error: unsupported directive '.stabs'
        .stabs "PSTRINGMESSAGETABLE:t41=*107",128,0,0,0
               ^
<stdin>:85:9: error: unsupported directive '.stabs'
        .stabs "LONGWORD:t108=r108;0;-1;",128,0,0,0
               ^
<stdin>:86:9: error: unsupported directive '.stabs'
        .stabs "WORD:t109=@s16;r109;0;65535;",128,0,0,0
               ^
<stdin>:87:9: error: unsupported directive '.stabs'
        .stabs ":t110=ar@s8;103;0;7;11",128,0,0,0
               ^
<stdin>:88:9: error: unsupported directive '.stabs'
        .stabs ":t111=ar@s8;103;0;7;11",128,0,0,0
               ^
<stdin>:89:9: error: unsupported directive '.stabs'
        .stabs ":t112=ar@s8;103;0;5;11",128,0,0,0
               ^
<stdin>:90:9: error: unsupported directive '.stabs'
        .stabs "TGUID:Tt113=s16DATA1:108,0,32;DATA2:109,32,16;DATA3:109,48,16;DATA4:110,64,64;D1:108,0,32;D2:109,32,16;D3:109,48,16;D4:111,64,64;TIME_LOW:108,0,32;TIME_MID:109,32,16;TIME_HI_AND_VERSION:109,48,16;CLOCK_SEQ_HI_AND_RESERVED:11,64,8;CLOCK_SEQ_LOW:11,72,8;NODE:112,80,48;",128,0,0,0
               ^
<stdin>:91:9: error: unsupported directive '.stabs'
        .stabs "PGUID:t114=*113",128,0,0,0
               ^
<stdin>:92:9: error: unsupported directive '.stabs'
        .stabs "TINTERFACEENTRYTYPE:Tt115=eETSTANDARD:0,ETVIRTUALMETHODRESULT:1,ETSTATICMETHODRESULT:2,ETFIELDVALUE:3,ETVIRTUALMETHODCLASS:4,ETSTATICMETHODCLASS:5,ETFIELDVALUECLASS:6,;",128,0,0,0
               ^
<stdin>:93:9: error: unsupported directive '.stabs'
        .stabs "TINTERFACEENTRY:Tt116=s20IID:114,0,32;VTABLE:14,32,32;IOFFSET:108,64,32;IIDSTR:104,96,32;ITYPE:115,128,32;__PAD_DUMMY:9,128,32;",128,0,0,0
               ^
<stdin>:94:9: error: unsupported directive '.stabs'
        .stabs "PINTERFACEENTRY:t54=*116",128,0,0,0
               ^
<stdin>:95:9: error: unsupported directive '.stabs'
        .stabs ":t117=ar@s160;103;0;0;116",128,0,0,0
               ^
<stdin>:96:9: error: unsupported directive '.stabs'
        .stabs "TINTERFACETABLE:Tt118=s24ENTRYCOUNT:108,0,32;ENTRIES:117,32,160;",128,0,0,0
               ^
<stdin>:97:9: error: unsupported directive '.stabs'
        .stabs "PINTERFACETABLE:t57=*118",128,0,0,0
               ^
<stdin>:99:9: error: unsupported directive '.stabs'
        .stabs "TREGISTERPROC:t1",128,0,30,0
               ^
<stdin>:100:9: error: unsupported directive '.stabs'
        .stabs "TREGISTERUNITPROC:t2",128,0,32,0
               ^
<stdin>:101:9: error: unsupported directive '.stabs'
        .stabs "TREGISTEREDPACKAGE:Tt3",128,0,36,0
               ^
<stdin>:102:9: error: unsupported directive '.stabs'
        .stabs "PREGISTEREDPACKAGE:t4",128,0,40,0
               ^
<stdin>:103:9: error: unsupported directive '.stabs'
        .stabs "REGISTEREDPACKAGES:S6",38,0,43,_U_$LAZARUSPACKAGEINTF_$$_REGISTEREDPACKAGES
               ^
<stdin>:104:9: error: unsupported directive '.stabs'
        .stabs "REGISTERUNITPROC:S2",38,0,44,_U_$LAZARUSPACKAGEINTF_$$_REGISTERUNITPROC
               ^
<stdin>:113:9: error: unsupported directive '.stabs'
        .stabs "REGISTERUNIT:F7",36,0,53,_LAZARUSPACKAGEINTF_$$_REGISTERUNIT$ANSISTRING$TREGISTERPROC
               ^
<stdin>:114:9: error: unsupported directive '.stabs'
        .stabs "THEUNITNAME:R8",64,0,46,0
               ^
<stdin>:115:9: error: unsupported directive '.stabs'
        .stabs "THEUNITNAME:8",160,0,46,-4
               ^
<stdin>:116:9: error: unsupported directive '.stabs'
        .stabs "REGISTERPROC:R1",64,0,46,2
               ^
<stdin>:117:9: error: unsupported directive '.stabs'
        .stabs "REGISTERPROC:1",160,0,46,-8
               ^
<stdin>:120:9: error: unsupported directive '.stabs'
        .stabs "lazaruspackageintf.pas",132,0,0,Lf1
               ^
<stdin>:122:2: error: unknown directive
        .stabd 68,0,54
        ^
<stdin>:133:2: error: unknown directive
        .stabd 68,0,55
        ^
<stdin>:139:2: error: unknown directive
        .stabd 68,0,56
        ^
<stdin>:144:2: error: unknown directive
        .stabn 192,0,0,_LAZARUSPACKAGEINTF_$$_REGISTERUNIT$ANSISTRING$TREGISTERPROC
        ^
<stdin>:145:2: error: unknown directive
        .stabn 224,0,0,Lt1
        ^
<stdin>:147:9: error: unsupported directive '.stabs'
        .stabs "",36,0,0,Lt1-_LAZARUSPACKAGEINTF_$$_REGISTERUNIT$ANSISTRING$TREGISTERPROC
               ^
<stdin>:151:9: error: unsupported directive '.stabs'
        .stabs "REGISTERPACKAGE:F7",36,0,58,_LAZARUSPACKAGEINTF_$$_REGISTERPACKAGE$ANSISTRING$TREGISTERPROC
               ^
<stdin>:152:9: error: unsupported directive '.stabs'
        .stabs "THEPACKAGENAME:R8",64,0,47,0
               ^
<stdin>:153:9: error: unsupported directive '.stabs'
        .stabs "THEPACKAGENAME:8",160,0,47,-4
               ^
<stdin>:154:9: error: unsupported directive '.stabs'
        .stabs "REGISTERPROC:R1",64,0,48,2
               ^
<stdin>:155:9: error: unsupported directive '.stabs'
        .stabs "REGISTERPROC:1",160,0,48,-8
               ^
<stdin>:156:9: error: unsupported directive '.stabs'
        .stabs "NEWREGISTEREDPACKAGE:4",160,0,61,-12
               ^
<stdin>:159:9: error: unsupported directive '.stabs'
        .stabs "lazaruspackageintf.pas",132,0,0,Lf2
               ^
<stdin>:161:2: error: unknown directive
        .stabd 68,0,62
        ^
<stdin>:172:2: error: unknown directive
        .stabd 68,0,63
        ^
<stdin>:182:2: error: unknown directive
        .stabd 68,0,64
        ^
<stdin>:191:2: error: unknown directive
        .stabd 68,0,65
        ^
<stdin>:195:2: error: unknown directive
        .stabd 68,0,66
        ^
<stdin>:199:2: error: unknown directive
        .stabd 68,0,67
        ^
<stdin>:203:2: error: unknown directive
        .stabd 68,0,68
        ^
<stdin>:208:2: error: unknown directive
        .stabn 192,0,0,_LAZARUSPACKAGEINTF_$$_REGISTERPACKAGE$ANSISTRING$TREGISTERPROC
        ^
<stdin>:209:2: error: unknown directive
        .stabn 224,0,0,Lt2
        ^
<stdin>:211:9: error: unsupported directive '.stabs'
        .stabs "",36,0,0,Lt2-_LAZARUSPACKAGEINTF_$$_REGISTERPACKAGE$ANSISTRING$TREGISTERPROC
               ^
<stdin>:215:9: error: unsupported directive '.stabs'
        .stabs "CLEARREGISTEREDPACKAGES:F7",36,0,70,_LAZARUSPACKAGEINTF_$$_CLEARREGISTEREDPACKAGES
               ^
<stdin>:216:9: error: unsupported directive '.stabs'
        .stabs "REGISTEREDPACKAGE:4",160,0,72,-4
               ^
<stdin>:217:9: error: unsupported directive '.stabs'
        .stabs "I:9",160,0,73,-8
               ^
<stdin>:220:9: error: unsupported directive '.stabs'
        .stabs "lazaruspackageintf.pas",132,0,0,Lf3
               ^
<stdin>:222:2: error: unknown directive
        .stabd 68,0,74
        ^
<stdin>:231:2: error: unknown directive
        .stabd 68,0,75
        ^
<stdin>:235:2: error: unknown directive
        .stabd 68,0,76
        ^
<stdin>:246:2: error: unknown directive
        .stabd 68,0,77
        ^
<stdin>:251:2: error: unknown directive
        .stabd 68,0,78
        ^
<stdin>:261:2: error: unknown directive
        .stabd 68,0,80
        ^
<stdin>:264:2: error: unknown directive
        .stabd 68,0,81
        ^
<stdin>:268:2: error: unknown directive
        .stabd 68,0,83
        ^
<stdin>:273:2: error: unknown directive
        .stabn 192,0,0,_LAZARUSPACKAGEINTF_$$_CLEARREGISTEREDPACKAGES
        ^
<stdin>:274:2: error: unknown directive
        .stabn 224,0,0,Lt3
        ^
<stdin>:276:9: error: unsupported directive '.stabs'
        .stabs "",36,0,0,Lt3-_LAZARUSPACKAGEINTF_$$_CLEARREGISTEREDPACKAGES
               ^
<stdin>:280:9: error: unsupported directive '.stabs'
        .stabs "INTERNALINIT:F7",36,0,85,_LAZARUSPACKAGEINTF_$$_INTERNALINIT
               ^
<stdin>:283:9: error: unsupported directive '.stabs'
        .stabs "lazaruspackageintf.pas",132,0,0,Lf4
               ^
<stdin>:285:2: error: unknown directive
        .stabd 68,0,86
        ^
<stdin>:293:2: error: unknown directive
        .stabd 68,0,87
        ^
<stdin>:300:2: error: unknown directive
        .stabd 68,0,88
        ^
<stdin>:303:2: error: unknown directive
        .stabd 68,0,89
        ^
<stdin>:307:2: error: unknown directive
        .stabn 192,0,0,_LAZARUSPACKAGEINTF_$$_INTERNALINIT
        ^
<stdin>:308:2: error: unknown directive
        .stabn 224,0,0,Lt5
        ^
<stdin>:310:9: error: unsupported directive '.stabs'
        .stabs "",36,0,0,Lt5-_LAZARUSPACKAGEINTF_$$_INTERNALINIT
               ^
<stdin>:314:9: error: unsupported directive '.stabs'
        .stabs "INTERNALFINAL:F7",36,0,91,_LAZARUSPACKAGEINTF_$$_INTERNALFINAL
               ^
<stdin>:317:9: error: unsupported directive '.stabs'
        .stabs "lazaruspackageintf.pas",132,0,0,Lf5
               ^
<stdin>:319:2: error: unknown directive
        .stabd 68,0,92
        ^
<stdin>:323:2: error: unknown directive
        .stabd 68,0,93
        ^
<stdin>:325:2: error: unknown directive
        .stabd 68,0,94
        ^
<stdin>:328:2: error: unknown directive
        .stabn 192,0,0,_LAZARUSPACKAGEINTF_$$_INTERNALFINAL
        ^
<stdin>:329:2: error: unknown directive
        .stabn 224,0,0,Lt6
        ^
<stdin>:331:9: error: unsupported directive '.stabs'
        .stabs "",36,0,0,Lt6-_LAZARUSPACKAGEINTF_$$_INTERNALFINAL
               ^
<stdin>:340:9: error: unsupported directive '.stabs'
        .stabs "_LAZARUSPACKAGEINTF_$$_init:F7",36,0,53,__LAZARUSPACKAGEINTF_$$_init
               ^
<stdin>:342:9: error: unsupported directive '.stabs'
        .stabs "lazaruspackageintf.pas",132,0,0,Lf6
               ^
<stdin>:344:2: error: unknown directive
        .stabd 68,0,96
        ^
<stdin>:348:2: error: unknown directive
        .stabd 68,0,97
        ^
<stdin>:352:2: error: unknown directive
        .stabn 192,0,0,__LAZARUSPACKAGEINTF_$$_init
        ^
<stdin>:353:2: error: unknown directive
        .stabn 224,0,0,Lt4
        ^
<stdin>:355:9: error: unsupported directive '.stabs'
        .stabs "",36,0,0,Lt4-__LAZARUSPACKAGEINTF_$$_init
               ^
<stdin>:364:9: error: unsupported directive '.stabs'
        .stabs "_LAZARUSPACKAGEINTF_$$_finalize:F7",36,0,99,__LAZARUSPACKAGEINTF_$$_finalize
               ^
<stdin>:366:9: error: unsupported directive '.stabs'
        .stabs "lazaruspackageintf.pas",132,0,0,Lf7
               ^
<stdin>:368:2: error: unknown directive
        .stabd 68,0,99
        ^
<stdin>:372:2: error: unknown directive
        .stabd 68,0,100
        ^
<stdin>:374:2: error: unknown directive
        .stabd 68,0,102
        ^
<stdin>:377:2: error: unknown directive
        .stabn 192,0,0,__LAZARUSPACKAGEINTF_$$_finalize
        ^
<stdin>:378:2: error: unknown directive
        .stabn 224,0,0,Lt7
        ^
<stdin>:380:9: error: unsupported directive '.stabs'
        .stabs "",36,0,0,Lt7-__LAZARUSPACKAGEINTF_$$_finalize
               ^
<stdin>:595:9: error: unsupported directive '.stabs'
        .stabs "",102,0,0,0
               ^
<stdin>:599:9: error: unsupported directive '.stabs'
        .stabs "",100,0,0,Lf9
               ^
lazaruspackageintf.pas(104) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
make[1]: *** [fcllaz.ppu] Error 1
make: *** [registration] Error 2
Zuletzt geändert von Warf am Do 1. Okt 2015, 17:57, insgesamt 1-mal geändert.

marcov
Beiträge: 1100
Registriert: Di 5. Aug 2008, 09:37
OS, Lazarus, FPC: Windows ,Linux,FreeBSD,Dos (L trunk FPC trunk)
CPU-Target: 32/64,PPC(+64), ARM
Wohnort: Eindhoven (Niederlande)

Re: Fehler bei kompilieren von FCL nach Xcode Update

Beitrag von marcov »

Ich glaube das XCode7 kein AS mehr hat. AS ist jetzt ein alias fuer CLANG mit eine bestimmte Parameter.

Such im Englishen Forum, onder FPC maillist

Warf
Beiträge: 1908
Registriert: Di 23. Sep 2014, 17:46
OS, Lazarus, FPC: Win10 | Linux
CPU-Target: x86_64

Re: Fehler bei kompilieren von FCL nach Xcode Update

Beitrag von Warf »

Hab auf der mailing list gefunden dass das mit fpc 3.0.0 gefixt wird, der rc1 aber noch die stabs debug Direktive drin hat, dann muss ich einfach nur warten

mischi
Beiträge: 206
Registriert: Di 10. Nov 2009, 18:49
OS, Lazarus, FPC: macOS, 10.13, lazarus 1.8.x, fpc 3.0.x
CPU-Target: 32Bit/64bit

Re: Fehler bei kompilieren von FCL nach Xcode Update

Beitrag von mischi »

Es geht um den Wechsel von stabs zu dwarf. In den fink Paketen habe ich das schon länger umgestellt. fpc 3.0 braucht man nicht dazu, man muss aber in der Datei ide/compileroptions.pp die Zeile 1615 ändern:

b := aXMLConfig.GetValue(p+’Debugging/GenerateDwarf/Value', false);

b := aXMLConfig.GetValue(p+'Debugging/GenerateDwarf/Value', true);

und dann mit Lazarus mit folgendem Befehl erzeugen:

make clean bigide LCL_PLATFORM=carbon OPT="-gl -gw" PP=ppc386 CPU_TARGET=i386 CPU_SOURCE=i386

Installieren wie gewohnt mit make install.

Möglicherweise ist stabs noch in den Einstellungen von Lazarus oder dem Projekt eingestellt.

Michael.
MiSchi macht die fink-Pakete

Warf
Beiträge: 1908
Registriert: Di 23. Sep 2014, 17:46
OS, Lazarus, FPC: Win10 | Linux
CPU-Target: x86_64

Re: Fehler bei kompilieren von FCL nach Xcode Update

Beitrag von Warf »

mischi,

du bist ein Gott :D ich glaub wenn du nicht hier im forum aktiv wärst hätte ich Lazarus für den Mac wahrscheinlich schon längst aufgegeben

PS: Das heißt es funktioniert jetzt

mischi
Beiträge: 206
Registriert: Di 10. Nov 2009, 18:49
OS, Lazarus, FPC: macOS, 10.13, lazarus 1.8.x, fpc 3.0.x
CPU-Target: 32Bit/64bit

Re: [GELÖST]Fehler bei kompilieren von FCL nach Xcode Update

Beitrag von mischi »

Danke für den Applaus, das Brot des Künstlers.

MiSchi.
MiSchi macht die fink-Pakete

Antworten