Opened 9 years ago

Closed 6 years ago

#33036 closed enhancement (fixed)

sdcc update port to 3.3.0

Reported by: lara.dougan@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: robink@…, brendan.simon@…
Port: sdcc

Description (last modified by nerdling (Jeremy Lavergne))

Hi. Here is a patch to update SDCC to version 3.3.0.

I also removed avr and xa51 then added variants for them because they are unsupported by SDCC now.

Attachments (6)

port-sdcc31.diff (1.7 KB) - added by lara.dougan@… 9 years ago.
port file diff
port-sdcc-3.1.0-1.diff (2.0 KB) - added by lara.dougan@… 9 years ago.
sdcc port patch, including universal fix
patch-configure.in.diff (258 bytes) - added by lara.dougan@… 9 years ago.
patch-sim-ucsim-configure.in.diff (333 bytes) - added by lara.dougan@… 9 years ago.
patch-support-cpp-configure.in.diff (318 bytes) - added by lara.dougan@… 9 years ago.
sdcc-3.2.0.diff (4.2 KB) - added by nerdling (Jeremy Lavergne) 8 years ago.
3.2.0 so far

Download all attachments as: .zip

Change History (15)

Changed 9 years ago by lara.dougan@…

Attachment: port-sdcc31.diff added

port file diff

comment:1 in reply to:  description Changed 9 years ago by lara.dougan@…

Replying to lara.dougan@…:

Hi. Here is a patch to update SDCC to version 3.1.0.

I also removed avr and x51 then added variants for them because they are unsupported by SDCC now.

I meant xa51 and not x51. :)

Changed 9 years ago by lara.dougan@…

Attachment: port-sdcc-3.1.0-1.diff added

sdcc port patch, including universal fix

Changed 9 years ago by lara.dougan@…

Attachment: patch-configure.in.diff added

Changed 9 years ago by lara.dougan@…

Changed 9 years ago by lara.dougan@…

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to snc@…
Type: updateenhancement
Version: 2.0.3

comment:3 Changed 8 years ago by robink@…

Cc: robink@… added

Cc Me!

comment:4 Changed 8 years ago by nerdling (Jeremy Lavergne)

Status: newassigned

comment:5 Changed 8 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)
Summary: sdcc update port to 3.1.0sdcc update port to 3.2.0

I need to patch some source files for 3.2.0 to address unused value warnings, which are treated as errors.

Last edited 8 years ago by nerdling (Jeremy Lavergne) (previous) (diff)

comment:6 Changed 8 years ago by nerdling (Jeremy Lavergne)

There seems to be a problem making use of Boost in 3.1.0 and 3.2.0:

In file included from ralloc2.cc:24:
In file included from ./../SDCCralloc.hpp:45:
In file included from /opt/local/include/boost/graph/graphviz.hpp:19:
/opt/local/include/boost/property_map/property_map.hpp:361:44: error: no viable overloaded '='
    static_cast<const PropertyMap&>(pa)[k] = v;
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

Also, so far with 3.2.0 I needed to patch support/sdbinutils/bfd/opncls.c.

Changed 8 years ago by nerdling (Jeremy Lavergne)

Attachment: sdcc-3.2.0.diff added

3.2.0 so far

comment:7 Changed 7 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)
Summary: sdcc update port to 3.2.0sdcc update port to 3.3.0

comment:8 Changed 7 years ago by nerdling (Jeremy Lavergne)

Cc: brendan.simon@… added

Has duplicate #39316

comment:9 Changed 6 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Updated in r108726.

Note: See TracTickets for help on using tickets.