Free Newsletters

   All InfoWorld Newsletters
Enterprise Mac | Tom Yager » Red Hat 7:21: "Apple, borkest thou not thy ABI"

June 14, 2006 | Comments: (0)

Red Hat 7:21: "Apple, borkest thou not thy ABI"

Every professional has a long scroll of "...never let an x do y" commandments. I took this from the tail of a July, 2005 exchange between two engineers from Apple and Red Hat (the latter in italics):

[snip gearhead stuff]...this doesn't fit neatly into gcc's model of two-valued flags; it's also a bit tricky to implement for the same reason.
Nah, you just remove it from target_flags, and control the two new variables from ix86_handle_option.

OK. Think that's the better approach?
Why do you want to make these sort of arbitrary changes to your ABI? I can't see what you win...

The compiler people are not driving this.
*shrug* It's not horrible, I guess. It preseves [sic] existing semantics when people use the switch; not that I'm a large fan of switches like this that bork the abi.

My preferred solution is that you don't allow non-compiler people to invent an ABI. ;-)

Posted by Tom Yager on June 14, 2006 01:04 PM


RATE THIS ARTICLE:





 

  •  
  • COMMENTS




I think it's not fair that you stripped the reason why the change was being requested ;-)

It turned out people doing profiling measurements showed different alignment options for different data structures performed better than fixed alignment sizes…

Posted by: Juan de Dios Santander at June 15, 2006 12:41 PM

Technology White Papers

 

InfoWorld Technology Marketplace

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
» BUY A LINK NOW

Sponsored Technology Links