Opened 10 years ago

Closed 9 years ago

#221 closed defect (fixed)

ld crashes when linking a very large .o file

Reported by: komh 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 komh 10 years ago.
Patch for ld
ld.zip (44.7 KB) - added by komh 10 years ago.
Patched ld.exe

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by komh

Patch for ld

Changed 10 years ago by komh

Patched ld.exe

comment:1 Changed 9 years ago by bird

  • Priority changed from highest to normal
  • Severity changed from blocker to major

comment:2 Changed 9 years ago by bird

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

comment:3 Changed 9 years ago by bird

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.