View Revisions: Issue #37010
Summary | 0037010: The Lazarus buildsystem erroneously adds "-Fuc:/pp/units/i386-win32/rtl" parameter to calls to the compiler | ||
---|---|---|---|
Revision | 2020-05-03 12:03 by Bart Broersma | ||
Steps To Reproduce | This is my setup in which it happens (reproduced on a new system that did not have Lazarus or fpc installed ever). Did a fresh svn checkout of lazarus trunk in c:\devel\lazarus Installed fpc3.2.0RC1 in c:\devel\fpc\3.2.0 So fpc 3.2.0RC1 is now in %PATH% c:\devel\lazarus> make bigide Build Lazarus as expected. There is NO -Fuc:/pp/units/i386-win32/rtl in the calls to fpc Did fresh svn checkout of fpc trunk in c:\devel\fpc c:\devel\fpc\trunk>make all Builds OK c:\devel\fpc\trunk>make install Installs fpc to C:\pp So my tree looks something like: C:\ devel\ lazarus\ fpc\ 3.2.0\ bin\ units\ pp\ bin\ i386-win32\ units\ i386\win32 Now try to build Lazarus once again: C:\devel\lazarus>make bigide OPT="-g -gl" make -C packager/registration make[1]: Entering directory `C:/devel/lazarus/packager/registration' c:\devel\fpc\3.2.0\bin\i386-win32\fpc.exe -MObjFpc -Scghi -O1 -g -gl -i -vewnhibq -Fu. -Fuc:/pp/units/i386-win32/rtl -FE. -FU../units/i386-win32 -g -gl -di386 fcllaz.pas Notice that there is no reference to "c:/pp/units/i386-win32/rtl" in either the fpc.cfg of the 3.2.0 compiler, nor in C:\Users\Bart\AppData\Local\lazarus\idemake.cfg Also the fpc trunk compiler is not in the system's %PATH% There are also no environment variables set that have anything to do with fpc, lazarus or the build system. If I rename C:\pp to C:\_pp then the "Fuc:/pp/units/i386-win32/rtl" will (again) not be added. |
||
Revision | 2020-05-03 12:01 by Bart Broersma | ||
Steps To Reproduce | This is my setup in which it happens (reproduced on a new system that did not have Lazarus or fpc installed ever). Did a fresh svn checkout of lazarus trunk in c:\devel\lazarus Installed fpc3.2.0RC1 in c:\devel\fpc\3.2.0 So fpc 3.2.0RC1 is now in %PATH% c:\devel\lazarus> make bigide Build Lazarus as expected. There is NO -Fuc:/pp/units/i386-win32/rtl in the calls to fpc Did fresh svn checkout of fpc trunk in c:\devel\fpc c:\devel\fpc\trunk>make all Builds OK c:\devel\fpc\trunk>make install Installs fpc to C:\pp So my tree looks something like: C:\ devel\ lazarus\ fpc\ 3.2.0\ bin\ units\ pp\ bin\ i386-win32\ units\ i386\win32 Now try to build Lazarus once again: C:\devel\lazarus>make bigide OPT="-g -gl" make -C packager/registration make[1]: Entering directory `C:/devel/lazarus/packager/registration' c:\devel\fpc\3.2.0\bin\i386-win32\fpc.exe -MObjFpc -Scghi -O1 -g -gl -i -vewnhibq -Fu. -Fuc:/pp/units/i386-win32/rtl -FE. -FU../units/i386-win32 -g -gl -di386 fcllaz.pas Notice that there is no reference to "c:/pp/units/i386-win32/rtl" in either the fpc.cfg of the 3.2.0 compiler, nor in C:\Users\Bart\AppData\Local\lazarus\idemake.cfg Also the fpc trunk compiler is not in the system's %PATH% There are also no environment variables set that have anything to do with fpc, lazarus or the build system. |
||
Revision | 2020-05-03 12:00 by Bart Broersma | ||
Steps To Reproduce | This is my setup in which it happens (reproduced on a new system that did not have Lazarus or fpc installed ever). Did a fresh svn checkout of lazarus trunk in c:\devel\lazarus Installed fpc3.2.0RC1 in c:\devel\fpc\3.2.0 So fpc 3.2.0RC1 is now in %PATH% c:\devel\lazarus> make bigide Build Lazarus as expected. There is NO -Fuc:/pp/units/i386-win32/rtl in the calls to fpc Did fresh svn checkout of fpc trunk in c:\devel\fpc c:\devel\fpc\trunk>make all Builds OK c:\devel\fpc\trunk>make install Installs fpc to C:\pp So my tree looks something like: C:\ devel\ lazarus\ fpc\ 3.2.0\ bin\ units\ pp\ bin\ i386-win32\ units\ i386\win32 Now try to build Lazarus once again: C:\devel\lazarus>make bigide make -C packager/registration make[1]: Entering directory `C:/devel/lazarus/packager/registration' c:\devel\fpc\3.2.0\bin\i386-win32\fpc.exe -MObjFpc -Scghi -O1 -g -gl -i -vewnhibq -Fu. -Fuc:/pp/units/i386-win32/rtl -FE. -FU../units/i386-win32 -g -gl -di386 fcllaz.pas Notice that there is no reference to "c:/pp/units/i386-win32/rtl" in either the fpc.cfg of the 3.2.0 compiler, nor in C:\Users\Bart\AppData\Local\lazarus\idemake.cfg Also the fpc trunk compiler is not in the system's %PATH% There are also no environment variables set that have anything to do with fpc, lazarus or the build system. |
||
Revision | 2020-05-03 11:59 by Bart Broersma | ||
Steps To Reproduce | This is my setup in which it happens (reproduced on a new system that did not have Lazarus or fpc installed ever). Did a fresh svn checkout of lazarus trunk in c:\devel\lazarus Installed fpc3.2.0RC1 in c:\devel\fpc\3.2.0 So fpc 3.2.0RC1 is now in %PATH% c:\devel\lazarus> make bigide Build Lazarus as expected. There is NO -Fuc:/pp/units/i386-win32/rtl in the calls to fpc Did fresh svn checkout of fpc trunk in c:\devel\fpc c:\devel\fpc\trunk>make all Builds OK c:\devel\fpc\trunk>make install Installs fpc to C:\pp So my tree looks something like: C:\ devel\ lazarus\ fpc\ 3.2.0\ bin\ units\ pp\ bin\ i386-win32\ units\ i386\win32 C:\devel\lazarus>make bigide This calls fpc 3.2.0RC1 with the -Fuc:/pp/units/i386-win32/rtl in the calls to fpc immediately: C:\devel\lazarus>make bigide make -C packager/registration make[1]: Entering directory `C:/devel/lazarus/packager/registration' c:\devel\fpc\3.2.0\bin\i386-win32\fpc.exe -MObjFpc -Scghi -O1 -g -gl -i -vewnhibq -Fu. -Fuc:/pp/units/i386-win32/rtl -FE. -FU../units/i386-win32 -g -gl -di386 fcllaz.pas Notice that there is no reference to "c:/pp/units/i386-win32/rtl" in either the fpc.cfg of the 3.2.0 compiler, nor in C:\Users\Bart\AppData\Local\lazarus\idemake.cfg Also the fpc trunk compiler is not in the system's %PATH% There are also no environment variables set that have anything to do with fpc, lazarus or the build system. |
||
Revision | 2020-05-03 11:58 by Bart Broersma | ||
Steps To Reproduce | This is my setup in which it happens (reproduced on a new system that did not have Lazarus or fpc installed ever). Did a fresh svn checkout of lazarus trunk in c:\devel\lazarus Installed fpc3.2.0RC1 in c:\devel\fpc\3.2.0 So fpc 3.2.0RC1 is now in %PATH% c:\devel\lazarus> make bigide Build Lazarus as expected. There is NO -Fuc:/pp/units/i386-win32/rtl in the calls to fpc Did fresh svn checkout of fpc trunk in c:\devel\fpc c:\devel\fpc\trunk>make all Builds OK c:\devel\fpc\trunk>make install Installs fpc to C:\pp So my tree looks something like: C:\ devel\ lazarus\ fpc\ 3.2.0\ bin\ units\ pp\ bin\ i386-win32\ units\ i386\win32 C:\devel\lazarus>make bigide This calls fpc 3.2.0RC1 with the -Fuc:/pp/units/i386-win32/rtl in the calls to fpc immediately: C:\devel\lazarus>make bigide make -C packager/registration make[1]: Entering directory `C:/devel/lazarus/packager/registration' c:\devel\fpc\3.2.0\bin\i386-win32\fpc.exe -MObjFpc -Scghi -O1 -g -gl -i -vewnhibq -Fu. -Fuc:/pp/units/i386-win32/rtl -FE. -FU../units/i386-win32 -g -gl -di386 fcllaz.pas Notice that there is no reference to "c:/pp/units/i386-win32/rtl" in either the fpc.cfg of the 3.2.0 compiler, nor in C:\Users\Bart\AppData\Local\lazarus\idemake.cfg Also the fpc trunk compiler is not in the system's %PATH% There are also no environment variables set that have anything to do with fpc, lazarus or the build system. |
||
Revision | 2020-05-03 11:56 by Bart Broersma | ||
Steps To Reproduce | This is my setup in which it happens (reproduced on a new system that did not have Lazarus or fpc installed ever). Did a fresh svn checkout of lazarus trunk in c:\devel\lazarus Installed fpc3.2.0RC1 in c:\devel\fpc\3.2.0 So fpc 3.2.0RC1 is now in %PATH% c:\devel\lazarus> make bigide Build Lazarus as expected. There is NO -Fuc:/pp/units/i386-win32/rtl in the calls to fpc Did fresh svn checkout of fpc trunk in c:\devel\fpc c:\devel\fpc\trunk>make all Builds OK c:\devel\fpc\trunk>make install Installs fpc to C:\pp So my tree looks something like: C:\ devel\ lazarus\ fpc\ 3.2.0\ bin\ units\ pp\ bin\ i386-win32\ units\ i386\win32 C:\devel\lazarus>make bigide This calls fpc 3.2.0RC1 with the -Fuc:/pp/units/i386-win32/rtl in the calls to fpc immediately: C:\devel\lazarus>make bigide make -C packager/registration make[1]: Entering directory `C:/devel/lazarus/packager/registration' c:\devel\fpc\3.2.0\bin\i386-win32\fpc.exe -MObjFpc -Scghi -O1 -g -gl -i -vewnhibq -Fu. -Fuc:/pp/units/i386-win32/rtl -FE. -FU../units/i386-win32 -g -gl -di386 fcllaz.pas Notice that there is no reference to "c:/pp/units/i386-win32/rtl" in either the fpc.cfg of the 3.2.0 compiler, nor in C:\Users\Bart\AppData\Local\lazarus\idemake.cfg |
||
Revision | 2020-05-03 11:53 by Bart Broersma | ||
Steps To Reproduce | This is my setup in which it happens (reporduce on a new system that did not have Lazarus or fpc installed ever). Did a fresh svn checkout of lazarus trunk in c:\devel\lazarus Installed fpc3.2.0RC1 in c:\devel\fpc\3.2.0 So fpc 3.2.0RC1 is now in %PATH% c:\devel\lazarus> make bigide Build Lazarus as expected. There is NO -Fuc:/pp/units/i386-win32/rtl in the calls to fpc Did fresh svn checkout of fpc trunk in c:\devel\fpc c:\devel\fpc\trunk>make all Builds OK c:\devel\fpc\trunk>make install Installs fpc to C:\pp So my tree looks something like: C:\ devel\ lazarus\ fpc\ 3.2.0\ bin\ units\ pp\ bin\ i386-win32\ units\ i386\win32 C:\devel\lazarus>make bigide This calls fpc 3.2.0RC1 with the -Fuc:/pp/units/i386-win32/rtl in the calls to fpc immediately: C:\devel\lazarus>make bigide make -C packager/registration make[1]: Entering directory `C:/devel/lazarus/packager/registration' c:\devel\fpc\3.2.0\bin\i386-win32\fpc.exe -MObjFpc -Scghi -O1 -g -gl -i -vewnhibq -Fu. -Fuc:/pp/units/i386-win32/rtl -FE. -FU../units/i386-win32 -g -gl -di386 fcllaz.pas |
||
Revision | 2020-05-03 11:44 by Bart Broersma | ||
Steps To Reproduce | This is my setup in which it happens (reporduce on a new system that did not have Lazarus or fpc installed ever). Did a fresh svn checkout of lazarus trunk in c:\devel\lazarus Installed fpc3.2.0RC1 in c:\devel\fpc\3.2.0 So fpc 3.2.0RC1 is now in %PATH% c:\devel\lazarus> make bigide Build Lazarus as expected. There is NO -Fuc:/pp/units/i386-win32/rtl in the calls to fpc Did fresh svn checkout of fpc trunk in c:\devel\fpc c:\devel\fpc\trunk>make all Builds OK c:\devel\fpc\trunk>make install Installs fpc to C:\pp C:\devel\lazarus>make bigide This calls fpc 3.2.0RC1 with the -Fuc:/pp/units/i386-win32/rtl in the calls to fpc immediately: <code> C:\devel\lazarus>make bigide make -C packager/registration make[1]: Entering directory `C:/devel/lazarus/packager/registration' c:\devel\fpc\3.2.0\bin\i386-win32\fpc.exe -MObjFpc -Scghi -O1 -g -gl -i -vewnhibq -Fu. -Fuc:/pp/units/i386-win32/rtl -FE. -FU../units/i386-win32 -g -gl -di386 fcllaz.pas </code> |