Ticket #25718 (closed defect: fixed)
arm-elf-gcc needs --disable-__cxa_atexit configure option
| Reported by: | billy@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.1 |
| Keywords: | haspatch | Cc: | |
| Port: | arm-elf-gcc |
Description
gcc 4 defaults to enable cxa_atexit. This only needed by glibc and shouldn't be used for newlib. It will cause "undefined reference to `cxa_atexit'" errors. I have attached a patch for the portfile.
Attachments
Change History
Changed 3 years ago by billy@…
- Attachment Portfile-arm-elf-gcc.diff added
comment:1 Changed 3 years ago by jmr@…
- Keywords haspatch added
- Port set to arm-elf-gcc
Please remember to fill in the Port field.
Note: See
TracTickets for help on using
tickets.


Portfile diff with '--disable-cxa_atexit' added.