Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-dev: Re: [Wireshark-dev] Build failure on Linux (GCC 3.4.6)

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 4 Aug 2008 08:23:11 -0700


On Aug 4, 2008, at 6:03 AM, Martin Mathieson wrote:

Unfortunately not. I can't see what is different between this case and the one in the built-in packet-ethertype.c which may have been used as a template in part for the plugin packet-infiniband.c.

packet-ethertype.c has

	tvbuff_t *volatile next_tvb;

in ethertype(), while packet-infiniband.c has

	tvbuff_t *next_tvb;

in parse_PAYLOAD().  What happens if you change it to

	tvbuff_t *volatile next_tvb;

in parse_PAYLOAD()?

(No, I don't know why it's not failing on the Ubuntu buildbot, unless either

1) you're building for some RISC architecture with more than 16 registers, and next_tvb doesn't end up in a register on x86-64 but does end up in a register on the architecture for which you're building

or

2) GCC 3.4.6 isn't clever enough to figure out that next_tvb won't change between the setjmp and longjmp but the version of GCC on the Ubuntu 7.10 buildbot (my Ubuntu 7.10 virtual machine has a "prerelease" of GCC 4.1.3) is.)

  • Follow-Ups:
    • Re: [Wireshark-dev] Build failure on Linux (GCC 3.4.6)
      • From: Martin Mathieson
  • References:
    • [Wireshark-dev] Build failure on Linux (GCC 3.4.6)
      • From: Martin Mathieson
    • Re: [Wireshark-dev] Build failure on Linux (GCC 3.4.6)
      • From: Luis EG Ontanon
    • Re: [Wireshark-dev] Build failure on Linux (GCC 3.4.6)
      • From: Martin Mathieson
  • Prev by Date: Re: [Wireshark-dev] Build failure on Linux (GCC 3.4.6)
  • Next by Date: Re: [Wireshark-dev] Build failure on Linux (GCC 3.4.6)
  • Previous by thread: Re: [Wireshark-dev] Build failure on Linux (GCC 3.4.6)
  • Next by thread: Re: [Wireshark-dev] Build failure on Linux (GCC 3.4.6)
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation