[PLUG-TALK] Funny define

Paul Heinlein heinlein at attbi.com
Wed Mar 27 18:27:43 UTC 2002


I downloaded the rpm-4.0.4 source tarball this morning and was poking
around to see what had changed since 4.0.3. Out of curiosity, I looked
at the rpm.spec.in file to see how rpm would package itself. There was a
funny bit in it:

  # XXX workaround ia64 gcc-3.1-0.18 miscompilation
  %ifarch ia64
  make CFLAGS="-g -O0 -DIA64_SUCKS_ROCKS" files.o files.lo -C build
  %endif

It appears that the ia64 arch has an idiosyncratic implementation of
strcpy() (which has its own obscure history). You gotta love them
free-form defines :-)

-- Paul Heinlein <heinlein at attbi.com>





More information about the PLUG-talk mailing list