D.gnu - gdc-0.13 gcc-3.4.3 linux build errors
- Peri Hankey (14/14) Jun 16 2005 Hello
-
David Friedman
(5/25)
Jun 16 2005
If you built 0.13 on top of 0.12, try wiping out
- Peri Hankey (11/41) Jun 17 2005 David
- David Friedman (6/54) Jun 17 2005 It looks like any release made before April 2005 will work.
Hello I successfully built gdc-0.12 with the additional patch to enable -fpic -shared, and that works fine. Excellent - I have my toolkit as a dynamic library callable from C and from D. But when I try to build gdc-0.13 so as to stay current I get assembler errors: libphobos/std/stream.d: Error: Local symbol `.LTHUNK0' can't be equated to undefined symbol ... (many more of these) I notice that some relevant sounding changes were being discussed in relation to the mingw port. Any suggestions? Regards Peri Hankey
Jun 16 2005
Peri Hankey wrote:Hello I successfully built gdc-0.12 with the additional patch to enable -fpic -shared, and that works fine. Excellent - I have my toolkit as a dynamic library callable from C and from D. But when I try to build gdc-0.13 so as to stay current I get assembler errors: libphobos/std/stream.d: Error: Local symbol `.LTHUNK0' can't be equated to undefined symbol ... (many more of these) I notice that some relevant sounding changes were being discussed in relation to the mingw port. Any suggestions? Regards Peri HankeyIf you built 0.13 on top of 0.12, try wiping out <build dir>/gcc/d/{*.o,id*} first. Can you post your assembler/binutils version? David
Jun 16 2005
David Friedman wrote:Peri Hankey wrote:David The rpm for binutils is: binutils-2.16.90.0.2-3mdk, and this seems to correspond with the version given by 'as': GNU assembler 2.16.90.0.2 20050429 I was doing the build in a fresh directory, trying at the same time to get an rpm build working, using a simplified spec file that does what you describe in your build instructions. I can try a different binutils if you think this may be useful - is there a particular version you recommend? PeriHello I successfully built gdc-0.12 with the additional patch to enable -fpic -shared, and that works fine. Excellent - I have my toolkit as a dynamic library callable from C and from D. But when I try to build gdc-0.13 so as to stay current I get assembler errors: libphobos/std/stream.d: Error: Local symbol `.LTHUNK0' can't be equated to undefined symbol ... (many more of these) I notice that some relevant sounding changes were being discussed in relation to the mingw port. Any suggestions? Regards Peri HankeyIf you built 0.13 on top of 0.12, try wiping out <build dir>/gcc/d/{*.o,id*} first. Can you post your assembler/binutils version? David
Jun 17 2005
Peri Hankey wrote:David Friedman wrote:It looks like any release made before April 2005 will work. If anyone is curious, the thread on the change in binutils that causes the problem is here: http://lists.gnu.org/archive/html/bug-binutils/2005-05/msg00002.html DavidPeri Hankey wrote:David The rpm for binutils is: binutils-2.16.90.0.2-3mdk, and this seems to correspond with the version given by 'as': GNU assembler 2.16.90.0.2 20050429 I was doing the build in a fresh directory, trying at the same time to get an rpm build working, using a simplified spec file that does what you describe in your build instructions. I can try a different binutils if you think this may be useful - is there a particular version you recommend? PeriHello I successfully built gdc-0.12 with the additional patch to enable -fpic -shared, and that works fine. Excellent - I have my toolkit as a dynamic library callable from C and from D. But when I try to build gdc-0.13 so as to stay current I get assembler errors: libphobos/std/stream.d: Error: Local symbol `.LTHUNK0' can't be equated to undefined symbol ... (many more of these) I notice that some relevant sounding changes were being discussed in relation to the mingw port. Any suggestions? Regards Peri HankeyIf you built 0.13 on top of 0.12, try wiping out <build dir>/gcc/d/{*.o,id*} first. Can you post your assembler/binutils version? David
Jun 17 2005