Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: ilink32 just refuses to link C++ Builder Berlin Update 2


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 6 - Last Post: Nov 18, 2016 8:12 AM Last Post By: Alex Belo
Barry Andrews

Posts: 71
Registered: 9/19/03
ilink32 just refuses to link C++ Builder Berlin Update 2  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 15, 2016 11:48 PM
I am now using C++ Builder Berlin Update 2 and getting the following error

[ilink32 Warning] Warning: unknown heap name : 0x08000000 / 0x08000000
[ilink32 Warning] Warning: Error detected (LME288)
[ilink32 Error] Error: Unable to perform link

I did an initial install and the application worked fine.
Then I had to restart my PC and the application no longer compiled.
I uninstalled and reinstalled C++ Berlin Update 2 and the application compiles but the linker no longer works

I have now encountered this problem with C++ Builder Seatle and both C++ Berlin Update 1 and C++ Berlin Update 2

In the past I have managed to get this to work using the linker advanced options of -GHtds=0x0F000000, however this no longer works

I am using windows 10 on both machines which have had the issue.
I have seen a number of suggestions as to how to fix this but none work for me, compatibility mode of XP SP3,
Tried the suggestions from https://community.embarcadero.com/answers/ilink32-warning-warning-error-detected-lme288 still doesn't work,

Why is Embarcadero persisting with an outdated linker which is at best flaky???
What can I do to get my application at least able to link once more?
Johannes Weinert

Posts: 90
Registered: 7/19/02
Re: ilink32 just refuses to link C++ Builder Berlin Update 2  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 16, 2016 1:41 AM   in response to: Barry Andrews in response to: Barry Andrews
Barry,

you could try to start the C++Builder at the earliest possible moment
(e.g. add it to the auto-run). That was also suggested in any of the
forum posts.

HTH,

Hans

Am 16.11.2016 um 08:48 schrieb Barry Andrews:
I am now using C++ Builder Berlin Update 2 and getting the following error

[ilink32 Warning] Warning: unknown heap name : 0x08000000 / 0x08000000
[ilink32 Warning] Warning: Error detected (LME288)
[ilink32 Error] Error: Unable to perform link

I did an initial install and the application worked fine.
Then I had to restart my PC and the application no longer compiled.
I uninstalled and reinstalled C++ Berlin Update 2 and the application compiles but the linker no longer works

I have now encountered this problem with C++ Builder Seatle and both C++ Berlin Update 1 and C++ Berlin Update 2

In the past I have managed to get this to work using the linker advanced options of -GHtds=0x0F000000, however this no longer works

I am using windows 10 on both machines which have had the issue.
I have seen a number of suggestions as to how to fix this but none work for me, compatibility mode of XP SP3,
Tried the suggestions from https://community.embarcadero.com/answers/ilink32-warning-warning-error-detected-lme288 still doesn't work,

Why is Embarcadero persisting with an outdated linker which is at best flaky???
What can I do to get my application at least able to link once more?
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: ilink32 just refuses to link C++ Builder Berlin Update 2  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 16, 2016 1:06 PM   in response to: Barry Andrews in response to: Barry Andrews
Barry wrote:

Why is Embarcadero persisting with an outdated linker
which is at best flaky???

They have gone on record in the past saying the error is too complicated
to fix properly without completely rewritting the linker, which they don't
want to take the time to do. The -GH flag was a hack to provide a temporary
solution until a new linker can be made.

--
Remy Lebeau (TeamB)
Barry Andrews

Posts: 71
Registered: 9/19/03
Re: ilink32 just refuses to link C++ Builder Berlin Update 2  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 16, 2016 4:39 PM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
I got an answer from embarcadero that works for me, hopefully it helps others.

1. Set and verify the /LARGEADDRESSAWARE flag on the ilink32.exe executable using LAMarker utility:

LAMarker, a tool to set/unset Large Address Aware bits
http://cc.embarcadero.com/Item/30459

2. In an existing or new C++ project, go to Project | Options | Project Properties | and check, 'Run C++ Compiler in a separate process', save all, and then retest compilation.

I found I needed to add another step of

3. In an existing or new C++ project, go to Project | Options | C++ Linker and set Advanced - Additional options to "-GHtds=0x0F000000"

Now I can compile and link again.
Hopefully this works for others too.

This linker really needs replacing, its like having a car where the wheels keep falling off!
David Millington

Posts: 20
Registered: 7/9/16
Re: ilink32 just refuses to link C++ Builder Berlin Update 2  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 17, 2016 5:36 AM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Remy Lebeau (TeamB) wrote:
Barry wrote:

Why is Embarcadero persisting with an outdated linker
which is at best flaky???

They have gone on record in the past saying the error is too complicated
to fix properly without completely rewritting the linker, which they don't
want to take the time to do. The -GH flag was a hack to provide a temporary
solution until a new linker can be made.

--
Remy Lebeau (TeamB)

Just to comment here - the linker out of memory issues are something I want to fix. I've run into them myself and know the pain. I can't promise a date, but I can tell you they're a high priority.
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: ilink32 just refuses to link C++ Builder Berlin Update 2  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 17, 2016 11:15 AM   in response to: David Millington in response to: David Millington
David wrote:

Just to comment here - the linker out of memory issues are something
I want to fix. I've run into them myself and know the pain. I can't
promise a date, but I can tell you they're a high priority.

That is good news for future releases, but not for past releases. At my
dat job, we still use BCB6 on XP 32bit machines, and our main project (almost
20 years old now) has recently started getting linker memory errors on my
dev machine every time I build it, and I can't get past the errors, makin
it impossible to compile+debug the project locally anymore. The only way
I can debug it is to compile the project on our build machine (which also
has been getting the errors lately, but only once in awhile, and restarting
the IDE usually clears the errors for awhile before they come back again),
and then copy the EXE and TDS files to my dev machine, and then I can step
into the code, but every line step with the debugger causes the IDE to prompt
me to recompile the code, which I have to dismiss, making debugging extremely
slow.

--
Remy Lebeau (TeamB)
Alex Belo

Posts: 626
Registered: 10/8/06
Re: ilink32 just refuses to link C++ Builder Berlin Update 2  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 18, 2016 8:12 AM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Remy Lebeau (TeamB) wrote:

has recently started getting linker memory errors

Have you tried external linker (ulink I mean)? It's possible to
inegrate it into CB6 IDE with special plugin by Andreas Hausladen.

--
Alex
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02