View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0022971FPCCompilerpublic2012-09-25 11:022012-09-25 11:39
ReporterTakeda Matsuki 
Assigned ToJonas Maebe 
PrioritynormalSeverityblockReproducibilityalways
StatusresolvedResolutionfixed 
Platformx86_64OSWindows 7 Ultimate 64bitOS Version6.1
Product Version2.6.1Product Build 
Target VersionFixed in Version2.7.1 
Summary0022971: Build Cross Compiler for Linux as Target (All target processor : i386, x86_64, ARM) failed!
DescriptionCreating Cross Compiler for Linux (All target processor : i386, x86_64, ARM) failed!

When compiling all target processor (i386, x86_64, arm) complaining the "same" (fpdoc error) error output like message below :

----------------------------------------------------------------------------------------
.....................

D:\freepascal261\binutils\aw-bincross\aw-win32-i386-Linux\i386-linux-ld.exe: war
ning: .\link.res contains output sections; did you forget -T?
make[3]: Leaving directory `d:/freepascal261/utils/h2pas'
make -C fprcp all
make[3]: Entering directory `d:/freepascal261/utils/fprcp'
d:/freepascal261/binutils/i386-win32/gmkdir.exe -p units/i386-linux
d:/freepascal261/compiler/ppcross386.exe -Tlinux -XPi386-linux- -Xr -Ur -Xs -O2
-n -Fud:/freepascal261/rtl/units/i386-linux -FDD:\freepascal261\binutils\aw-binc
ross\aw-win32-i386-Linux -FE. -FUunits/i386-linux -di386 -dRELEASE fprcp.pp
D:\freepascal261\binutils\aw-bincross\aw-win32-i386-Linux\i386-linux-ld.exe: war
ning: .\link.res contains output sections; did you forget -T?
make[3]: Leaving directory `d:/freepascal261/utils/fprcp'
make -C dxegen all
make[3]: Entering directory `d:/freepascal261/utils/dxegen'
make[3]: Leaving directory `d:/freepascal261/utils/dxegen'
make -C fpdoc all
make[3]: Entering directory `d:/freepascal261/utils/fpdoc'
d:/freepascal261/binutils/i386-win32/gmkdir.exe -p units/i386-linux
d:/freepascal261/compiler/ppcross386.exe -Tlinux -XPi386-linux- -Xr -Ur -Xs -O2
-n -S2h -Fud:/freepascal261/rtl/units/i386-linux -Fud:/freepascal261/packages/fc
l-base/units/i386-linux -Fud:/freepascal261/packages/iconvenc/units/i386-linux -
Fud:/freepascal261/packages/fcl-xml/units/i386-linux -Fud:/freepascal261/package
s/fcl-passrc/units/i386-linux -Fud:/freepascal261/packages/chm/units/i386-linux
-FDD:\freepascal261\binutils\aw-bincross\aw-win32-i386-Linux -FE. -FUunits/i386-
linux -di386 -dRELEASE fpdoc.pp
D:\freepascal261\binutils\aw-bincross\aw-win32-i386-Linux\i386-linux-ld.exe: war
ning: .\link.res contains output sections; did you forget -T?
D:\freepascal261\binutils\aw-bincross\aw-win32-i386-Linux\i386-linux-ld.exe: can
not find -lc
fpdoc.pp(382,1) Error: Error while linking
fpdoc.pp(382,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[3]: *** [fpdoc] Error 1
make[3]: Leaving directory `d:/freepascal261/utils/fpdoc'
make[2]: *** [fpdoc_all] Error 2
make[2]: Leaving directory `d:/freepascal261/utils'
make[1]: *** [utils_all] Error 2
make[1]: Leaving directory `d:/freepascal261'
make: *** [build-stamp.i386-linux] Error 2

d:\freepascal261>

------------------------------------------------------------------------------------

I use all toolchain from ( http://svn.freepascal.org/cgi-bin/viewvc.cgi/binaries/i386-win32/?root=fpcbuild [^] )
I use FPC 2.6.0 to compile it.

Regards,
Takeda
TagsNo tags attached.
FPCOldBugId0
Fixed in Revision22236,22237
Attached Files

- Relationships

-  Notes
(0062611)
Jonas Maebe (manager)
2012-09-25 11:14

Linking binaries for ELF platforms requires that the libraries on which the programs depend are available. fpdoc now requires the C widestring manager to function correctly, and when cross-compiling you build a version of fpdoc that can run on the target system. As a result, you now need the C library from the target system somewhere on your build system.

FPC 2.7.1 by default no longer builds the utilities (such as fpdoc) when cross-compiling in order to avoid this requirement. It can be reactivated there by adding BUILDFULLNATIVE=1 to the make command line. This patch may be merged to 2.6.x in the future.

- Issue History
Date Modified Username Field Change
2012-09-25 11:02 Takeda Matsuki New Issue
2012-09-25 11:14 Jonas Maebe Fixed in Revision => 22237
2012-09-25 11:14 Jonas Maebe Status new => resolved
2012-09-25 11:14 Jonas Maebe Fixed in Version => 2.7.1
2012-09-25 11:14 Jonas Maebe Resolution open => fixed
2012-09-25 11:14 Jonas Maebe Assigned To => Jonas Maebe
2012-09-25 11:14 Jonas Maebe Note Added: 0062611
2012-09-25 11:39 Jonas Maebe FPCOldBugId => 0
2012-09-25 11:39 Jonas Maebe Fixed in Revision 22237 => 22236,22237



MantisBT 1.2.12[^]
Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker