Opened 14 years ago

Closed 13 years ago

#221 closed defect (fixed)

ld crashes when linking a very large .o file

Reported by: KO Myung-Hun Owned by: bird
Priority: normal Milestone: libc-0.6.4
Component: emx Version: 0.6.2
Severity: major Keywords:
Cc:

Description

Hi/2.

As a subject, ld crashes when linking a very large .o file such as libqt4_plugin.la-1.o of Qt4 plugin for VLC.

This is because ld uses alloca() to allocate memory.

Now use malloc() instead.

Attachments (2)

ld.diff (412 bytes) - added by KO Myung-Hun 14 years ago.
Patch for ld
ld.zip (44.7 KB) - added by KO Myung-Hun 14 years ago.
Patched ld.exe

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by KO Myung-Hun

Attachment: ld.diff added

Patch for ld

Changed 14 years ago by KO Myung-Hun

Attachment: ld.zip added

Patched ld.exe

comment:1 Changed 13 years ago by bird

Priority: highestnormal
Severity: blockermajor

comment:2 Changed 13 years ago by bird

(In [3679]) emx/ld: Don't use alloca(). References #221.

comment:3 Changed 13 years ago by bird

Resolution: fixed
Status: newclosed

(In [3680]) 0.6: Backported r3679: emx/ld: Don't use alloca(). Fixes #221.

Note: See TracTickets for help on using tickets.