Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2013-08

Trunk compilation broken?

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

leledumbo

Just updated to r25228, I can no longer build fpc.

2.6.2 dies with:

/usr/bin/ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fii386 -FE. -FU/media/Sources/lazarus-fpc/fpc/rtl/units/i386-linux -di386 -dRELEASE -Us -Sg system.pp
Fatal: Compilation aborted
An unhandled exception occurred at $00000000 :
EAccessViolation : Access violation
$00000000
$0820272B
$0814326E
$08143DF4
$0813F5C8
$0813F9DC
$0817A17C
$080667DD

while 2.7.1 (2013-05-04, don't know the revision) gets:

/usr/bin/ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fii386
-FE. -FU/media/Sources/lazarus-fpc/fpc/rtl/units/i386-linux -di386 -dRELEASE
-Us -Sg system.pp
systemh.inc(117,16) Error: Duplicate identifier "FarPointer"
systemh.inc(117,29) Error: Identifier not found "NearFsPointer"
systemh.inc(117,29) Error: Error in type definition
systemh.inc(1002,42) Error: Type "FarPointer" is not completely defined
system.pp(48,34) Fatal: There were 4 errors compiling module, stopping
Fatal: Compilation aborted
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Trunk-compilation-broken-tp5716081.html Sent from the Free Pascal - General mailing list .
Sven Barth
to leledumbo
leledumbo wrote 18 lines
Just updated to r25228, I can no longer build fpc. 2.6.2 dies with: /usr/bin/ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fii386 -FE. -FU/media/Sources/lazarus-fpc/fpc/rtl/units/i386-linux -di386 -dRELEASE -Us -Sg system.pp Fatal: Compilation aborted An unhandled exception occurred at $00000000 : EAccessViolation : Access violation $00000000 $0820272B $0814326E $08143DF4 $0813F5C8 $0813F9DC $0817A17C $080667DD

I don't know what triggers that error with 2.6.2, but...

Show quoted text 11 lines
while 2.7.1 (2013-05-04, don't know the revision) gets: /usr/bin/ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fii386 -FE. -FU/media/Sources/lazarus-fpc/fpc/rtl/units/i386-linux -di386 -dRELEASE -Us -Sg system.pp systemh.inc(117,16) Error: Duplicate identifier "FarPointer" systemh.inc(117,29) Error: Identifier not found "NearFsPointer" systemh.inc(117,29) Error: Error in type definition systemh.inc(1002,42) Error: Type "FarPointer" is not completely defined system.pp(48,34) Fatal: There were 4 errors compiling module, stopping Fatal: Compilation aborted

... you don't need to test older 2.7.1 versions to compile a current 2.7.1, because this is not supported anyway.

Regards,
Sven

Jonas Maebe
to leledumbo: Just updated to r25228, I can no longer build fpc. 2.6.2 dies with: /usr/bin/ppc386 -Ur…
leledumbo wrote 20 lines
Just updated to r25228, I can no longer build fpc. 2.6.2 dies with: /usr/bin/ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix - Fii386 -FE. -FU/media/Sources/lazarus-fpc/fpc/rtl/units/i386-linux -di386 - dRELEASE -Us -Sg system.pp Fatal: Compilation aborted An unhandled exception occurred at $00000000 : EAccessViolation : Access violation $00000000 $0820272B $0814326E $08143DF4 $0813F5C8 $0813F9DC $0817A17C $080667DD

It works fine here:

ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fii386 -FE. -FU/home/jmaebe/private/nobackup/fpc/rtl/units/i386-linux -di386 - dRELEASE -Us -Sg system.pp
ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fii386 -FE. -FU/home/jmaebe/private/nobackup/fpc/rtl/units/i386-linux -di386 - dRELEASE ../inc/fpintres.pp
ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix -Fii386 -FE. -FU/home/jmaebe/private/nobackup/fpc/rtl/units/i386-linux -di386 - dRELEASE si_prc.pp
...

$ ppc386 -iVSOSPTOTP
2.6.2 linux i386 linux i386

Jonas