View Issue Details

IDProjectCategoryView StatusLast Update
0031490LazarusCompilerpublic2017-07-25 23:09
ReporterRafael Picanco Assigned ToMattias Gaertner  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
PlatformLinuxOSBunsen Labs (Debian 8) 
Product Version1.6.4 
Summary0031490: Linking error on Debian
DescriptionNo program will compile, the IDE will not rebuild and so on.

http://forum.lazarus.freepascal.org/index.php?topic=36093.msg240178#msg240178

Debug: /usr/bin/ld: /usr/lib/fpc/3.0.2/units/x86_64-linux/rtl/cprt0.o: unrecognized relocation (0x2a) in section `.text'
Tags1.8.0 RC1
Fixed in Revision
LazTarget
Widgetset
Attached Files

Relationships

duplicate of 0031482 assignedMattias Gaertner fpc_3.0.2-170225_amd64.deb broken? 

Activities

Rafael Picanco

2017-03-06 14:46

reporter   ~0098688

Debian Jessie, x64. Installing from *.deb packages.

Marco van de Voort

2017-03-06 14:50

manager   ~0098689

Afaik there are no official 3.0.2 .debs (ftp://freepascal.stack.nl/pub/fpc/dist/3.0.2/x86_64-linux/ )

Best is to report this to the source of those debs.

Rafael Picanco

2017-03-06 15:01

reporter   ~0098691

Last edited: 2017-03-06 15:09

View 2 revisions

Hi, are you saying to me that https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.6.4/ is not official?

Marco van de Voort

2017-03-06 16:22

manager   ~0098697

No my bad. It is correct when filed against lazarus. There are no official FPC debians for FPC, it seems there are from Lazarus.

Rafael Picanco

2017-03-06 16:25

reporter   ~0098699

Ok! Sorry Marco, I can see you have edited the target project.

Rafael Picanco

2017-05-22 05:04

reporter   ~0100571

Error persists in Lazarus 1.8.0 RC1/fpc 3.0.3. It is preventing me from testing the release candidate.

Rafael Picanco

2017-05-22 06:06

reporter   ~0100572

For me the issue was fixed by recompiling the compiler:
```
cd /usr/share/fpcsrc/3.0.3
sudo make clean all OS_TARGET=linux CPU_TARGET=x86_64
sudo make install OS_TARGET=linux CPU_TARGET=x86_64 INSTALL_PREFIX=/usr
```

Mattias Gaertner

2017-05-23 18:47

manager   ~0100633

Maybe related:
http://free-pascal-general.1045716.n5.nabble.com/Linker-error-td5723410.html

Mattias Gaertner

2017-06-03 09:18

manager   ~0100814

Yes, it seems to be the binutils version. Building the deb on Debian works on Debian and Ubuntu. Building on Ubuntu only works on Ubuntu. I will build the next deb on Debian.

Rafael Picanco

2017-07-25 23:09

reporter   ~0101916

Mattias Gaertner, thank you very much!

Issue History

Date Modified Username Field Change
2017-03-06 14:45 Rafael Picanco New Issue
2017-03-06 14:46 Rafael Picanco Note Added: 0098688
2017-03-06 14:50 Marco van de Voort Note Added: 0098689
2017-03-06 15:01 Rafael Picanco Note Added: 0098691
2017-03-06 15:09 Rafael Picanco Note Edited: 0098691 View Revisions
2017-03-06 16:10 Juha Manninen Relationship added duplicate of 0031482
2017-03-06 16:22 Marco van de Voort Note Added: 0098697
2017-03-06 16:25 Rafael Picanco Note Added: 0098699
2017-05-22 05:04 Rafael Picanco Note Added: 0100571
2017-05-22 05:05 Rafael Picanco Tag Attached: 1.8.0 RC1
2017-05-22 05:05 Rafael Picanco Tag Attached: 1.6.2
2017-05-22 05:31 Rafael Picanco Tag Detached: 1.6.2
2017-05-22 06:06 Rafael Picanco Note Added: 0100572
2017-05-23 18:47 Mattias Gaertner Note Added: 0100633
2017-06-03 09:17 Mattias Gaertner Assigned To => Mattias Gaertner
2017-06-03 09:17 Mattias Gaertner Status new => assigned
2017-06-03 09:18 Mattias Gaertner Note Added: 0100814
2017-07-25 23:09 Rafael Picanco Note Added: 0101916