Alexander Pyhalov via illumos-discuss писал 08.02.2015 12:37:
Alexander Pyhalov via illumos-discuss писал 26.11.2014 11:52:
Hello.
Once again I'm thinking about cpp blob in OI and look at Joyent /
OmniOS cpp versions. The only difference between them is that Joyent
removed some unused code in cpp.c. Last time I asked about them Rich
Lowe mentioned some patches  which he sent to Joshua M. Clulow. These
patches presumable make cpp behavior more comparable to Sun (OI) cpp.
Are these patches available somewhere? Has someone tested them?

Hello.

I've tried to compile and test Joyent cpp with Richard Lowe's fixes -
https://github.com/richlowe/illumos-extra/tree/cpp/compat/cpp

I've run test.sh (comparing output of Sun cpp and Joyent cpp on all
include files) and found a lot of differences.
For example, for yaz includes
(http://buildzone.oi-build.r61.net/cpp/yaz.includes.tar).

It seems, Joyent cpp can't parse them. If I run it on yaz-util.h, I receive


One more issue: I can't build illumos-gate with this cpp:

/export/home/alp/srcs/oi-userland/components/illumos/illumos-gate/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/aw -K pic -P -D__STDC__ -D_ASM -D_REENTRANT -Di386 -DTHREAD_DEBUG -I../i386/inc -I/export/home/alp/srcs/oi-userland/components/illumos/illumos-gate/illumos-gate/usr/src/lib/libc/inc -DTEXT_DOMAIN=\"SUNW_OST_OSLIB\" -D_TS_ERRNO -I/export/home/alp/srcs/oi-userland/components/illumos/illumos-gate/illumos-gate/proto/root_i386/usr/include -D_RETAIN_OLD_SYSCALLS -DPIC -D_REENTRANT ../i386/crt/cerror.s -o pics/cerror.o /export/home/alp/srcs/oi-userland/components/illumos/illumos-gate/illumos-gate/proto/root_i386/usr/include/ia32/sys/asm_linkage.h: 100: undefined control /export/home/alp/srcs/oi-userland/components/illumos/illumos-gate/illumos-gate/proto/root_i386/usr/include/ia32/sys/asm_linkage.h: 104: undefined control
*** Error code 1
dmake: Fatal error: Command failed for target `pics/cerror.o'
Current working directory /export/home/alp/srcs/oi-userland/components/illumos/illumos-gate/illumos-gate/usr/src/lib/libc/i386


---
System Administrator of Southern Federal University Computer Center




-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to