Recent

Author Topic: Lazarus Release 1.8 (with FPC 3.0.4)  (Read 121225 times)

Max V. Terentiev

  • New Member
  • *
  • Posts: 30
Re: Lazarus Release 1.8 (with FPC 3.0.4)
« Reply #30 on: December 09, 2017, 03:59:52 am »
After installing 1.8 I cannot rebuild IDE and build any projects. I got "error while linking". All works fine in 1.8 RC5

Here is error log:

usr/bin/ld: /usr/lib64/fpc/3.0.4/units/x86_64-linux/rtl/cprt0.o: нераспознанное перемещение (0x2a) в разделе «.text»
/usr/bin/ld: final link failed: Некорректное значение
/home/maxter/tmp/project1.lpr(20,1) Error: (9013) Error while linking
/home/maxter/tmp/project1.lpr(20,1) Fatal: (10026) There were 1 errors compiling module, stopping

OS: CentOS 7 x64         
« Last Edit: December 09, 2017, 04:02:18 am by Max V. Terentiev »

zeljko

  • Hero Member
  • *****
  • Posts: 1591
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazarus Release 1.8 (with FPC 3.0.4)
« Reply #31 on: December 09, 2017, 10:16:10 am »
Check your fpc.cfg

kaygey

  • Newbie
  • Posts: 1
Re: Lazarus Release 1.8 (with FPC 3.0.4)
« Reply #32 on: December 09, 2017, 10:17:34 am »
 Well done amazing work!

Max V. Terentiev

  • New Member
  • *
  • Posts: 30
Re: Lazarus Release 1.8 (with FPC 3.0.4)
« Reply #33 on: December 09, 2017, 03:44:03 pm »
Quote
Check your fpc.cfg

I was try to install 1.8 to clean CentOS (just installed from ISO image). So, here is no old fpc.cfg.

I can only install 1.8 using FpcUpDeluxe with building it from scratch. RPM packages install broken version.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9754
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus Release 1.8 (with FPC 3.0.4)
« Reply #34 on: December 09, 2017, 04:15:44 pm »
usr/bin/ld: /usr/lib64/fpc/3.0.4/units/x86_64-linux/rtl/cprt0.o: нераспознанное перемещение (0x2a) в разделе «.text»
/usr/bin/ld: final link failed: Некорректное значение

I dont know what it says, but I guess something like "unknown section"? IIRC that has something to do with the version of ld.

I think there were previous posts on the forum about this issue.

scons

  • Full Member
  • ***
  • Posts: 141
Re: Lazarus Release 1.8 (with FPC 3.0.4)
« Reply #35 on: December 09, 2017, 05:39:32 pm »
Great work, thanks to the whole team.
Looks great too with the new icons.
Windows 10-64bit Lazarus 2.0.12 + FPC 3.2.0

jmpessoa

  • Hero Member
  • *****
  • Posts: 2296
Re: Lazarus Release 1.8 (with FPC 3.0.4)
« Reply #36 on: December 09, 2017, 06:46:07 pm »
About:
Quote
IMHO it would be good to add anchordockingdsgn.lpk, sparta_dockedformeditor.lpk and sparta_mdi.lpk packages to the default installation set.

as a sidenote: After installing "anchordockingdsgn.lpk, sparta_dockedformeditor.lpk"  I have to drop any reference to "AutoSize = True"  in  all  "*.lfm"  files...   else   Lazarus  crash!
« Last Edit: December 09, 2017, 06:48:38 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

chenyuchih

  • Jr. Member
  • **
  • Posts: 81
Re: Lazarus Release 1.8 (with FPC 3.0.4)
« Reply #37 on: December 09, 2017, 07:04:28 pm »
Thank you the lazarus teams! It is so good to see lazarus keeping growing. And long life the free pascal!

Chenyuchih

BeniBela

  • Hero Member
  • *****
  • Posts: 905
    • homepage
Re: Lazarus Release 1.8 (with FPC 3.0.4)
« Reply #38 on: December 09, 2017, 09:54:31 pm »
Why is heaptrace enabled in lazbuild.lpi? That only drops an incomprehensible amount of leak traces, when there is  an exception, like when you try to compile something that does not compile.

creaothceann

  • Full Member
  • ***
  • Posts: 117
Re: Lazarus Release 1.8 (with FPC 3.0.4)
« Reply #39 on: December 09, 2017, 10:36:57 pm »
Nice work.

Note to others: I noticed that projects were building slower than usual; after adding an exception to Windows Defender for the Lazarus directory it's fast again.

jwdietrich

  • Hero Member
  • *****
  • Posts: 1232
    • formatio reticularis
Re: Lazarus Release 1.8 (with FPC 3.0.4)
« Reply #40 on: December 09, 2017, 10:57:44 pm »
Don't, at this stage, know where the RTL lives ....

On my machine (macOS Sierra 10.12.6) it is in /usr/local/share/fpcsrc/rtl.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.2.6 | FPC 3.2.2 | PPC, Intel, ARM | macOS, Windows, Linux

nachoap

  • New Member
  • *
  • Posts: 22
Re: Lazarus Release 1.8 (with FPC 3.0.4)
« Reply #41 on: December 10, 2017, 08:39:59 am »
Great news!

Thank you very very much!

I love Lazarus. It's the best free ide I know. I've been programming for more than 30 years and I feel really happy with Lazarus and FreePascal. And I can program with them evererywhere. So, thank you very very much

tcsorgo

  • Newbie
  • Posts: 5
Re: Lazarus Release 1.8 (with FPC 3.0.4)
« Reply #42 on: December 10, 2017, 09:31:49 am »
Thank you!
Great work!
It works very well!

segfault

  • Full Member
  • ***
  • Posts: 107
Re: Lazarus Release 1.8 (with FPC 3.0.4)
« Reply #43 on: December 10, 2017, 10:29:56 am »
Thanks for the new release.

My system is Debian Linux and I'm currently using 1.6.4 which I installed using the debs from the previous release. Should I remove these packages before installing the new debs?

PeterX

  • Sr. Member
  • ****
  • Posts: 404
Re: Lazarus Release 1.8 (with FPC 3.0.4)
« Reply #44 on: December 10, 2017, 01:28:05 pm »
Just compiled one of my projects with 1.8 release, everything's fine !
(I already tested under 1.8 RC5 before, so I expected no problems ..)

Thanks a lot, great job !
usually using latest Lazarus release version with Windows 10

 

TinyPortal © 2005-2018