Opened 10 years ago

Closed 9 years ago

#44034 closed defect (duplicate)

arm-none-linux-gnueabi-gcc: error: duplicate case value '0'

Reported by: ktitt27@… Owned by: stuartwesterman (Stuart Westerman)
Priority: Normal Milestone:
Component: ports Version: 2.3.0
Keywords: Cc: 3198918@…
Port: arm-none-linux-gnueabi-gcc

Description (last modified by mf2k (Frank Schima))

I found defect during build the following package:

  arm-none-linux-gnueabi-gcc     @2005q3-2       cross/arm-none-linux-gnueabi-gcc

I attached the error log. Could you please check it and make this package fixed ?

Thank you, ktitt27

Attachments (2)

main.log (175.7 KB) - added by ktitt27@… 10 years ago.
main.2.log (175.7 KB) - added by ktitt27@… 10 years ago.

Download all attachments as: .zip

Change History (11)

Changed 10 years ago by ktitt27@…

Attachment: main.log added

Changed 10 years ago by ktitt27@…

Attachment: main.2.log added

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: arm-none-linux-gnueabi-gcc added

In the future, please use WikiFormatting and fill in the Port field.

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

Owner: changed from macports-tickets@… to stuartwesterman@…

comment:3 Changed 10 years ago by stuartwesterman (Stuart Westerman)

I'm investigating this. So far I see that gtype-cp.h:431 has a duplicate case value '0', as seen here:

http://pastebin.com/ZFmJ0QrR

comment:4 in reply to:  3 ; Changed 10 years ago by 3198918@…

Replying to stuartwesterman@…:

I'm investigating this. So far I see that gtype-cp.h:431 has a duplicate case value '0', as seen here:

http://pastebin.com/ZFmJ0QrR

I cannot open the web-site : http://pastebin.com/ZFmJ0QrR

comment:5 in reply to:  4 Changed 10 years ago by larryv (Lawrence Velázquez)

Here’s the contents of that paste:

./gtype-cp.h:410:7: warning: switch condition has boolean value
      switch (((*x).u).h.is_lang_type_class)
      ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gtype-cp.h:412:14: warning: overflow converting case value to switch condition type (2 to 0) [-Wswitch]
        case 2:
             ^
./gtype-cp.h:431:14: error: duplicate case value '0'
        case 0:
             ^
./gtype-cp.h:412:14: note: previous case defined here
        case 2:
             ^
mv -f Tcollect2 collect2
./gtype-cp.h:857:7: warning: switch condition has boolean value
      switch (((*x).u).h.is_lang_type_class)
      ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gtype-cp.h:859:14: warning: overflow converting case value to switch condition type (2 to 0) [-Wswitch]
        case 2:
             ^
./gtype-cp.h:879:14: error: duplicate case value '0'
        case 0:
             ^
./gtype-cp.h:859:14: note: previous case defined here
        case 2:
             ^
./gtype-cp.h:1475:3: warning: switch condition has boolean value
  switch (((*x).u).h.is_lang_type_class)
  ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./gtype-cp.h:1477:10: warning: overflow converting case value to switch condition type (2 to 0) [-Wswitch]
    case 2:
         ^
./gtype-cp.h:1511:10: error: duplicate case value '0'
    case 0:

comment:6 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: 3198918@… added

Has duplicate #46986.

comment:7 Changed 9 years ago by 3198918@…

anybody have solved this problem?

comment:8 Changed 9 years ago by neverpanic (Clemens Lang)

The port is basically unmaintained. It would need to be updated or replaced. Depending on your particular use case, the arm-none-eabi-gcc port may help.

comment:9 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Summary: [arm-none-linux-gnueabi-gcc] Build Error Issuearm-none-linux-gnueabi-gcc: error: duplicate case value '0'

Duplicate of #35112.

Note: See TracTickets for help on using tickets.