Comments (7)
It definitely looks like it:
https://github.com/joyent/smartos-live/tree/master/src_addon/cpp
from smartos-live.
Yes, we are using a different cpp. While, we could redistribute the S10 or OI 151a cpp, we don't have the source to it and it is not a viable long term solution. Improving the current cpp would not be a bad thing, but either someone needs to implement it, or pull in and really test another one.
from smartos-live.
I see it's partly written by Joerg Schilling - perhaps its worth filing a bug report with him? He is pretty good at fixing bugs in things he has written iirc.
from smartos-live.
There're a few issues:
- Whatever is causing the 'r' message
- The fact our va_impl header really does use #error(...) which really is wrong
- The fact we're reaching the branch in which the #error even occurs
I'm hoping that 1 and 3 relate. I may make some time to look into this (don't rely on this happening though)
from smartos-live.
The commit above (either, they're the same, not sure what I screwed up beyond the spacing) should deal with point 3.
point 2 will always exist for this cpp, as it doesn't actually support #error
or #warning
.
I haven't looked into the mysterious 'r' yet.
from smartos-live.
Sigh. I seem to be having real bad luck with missing that debugging gunk made it into the index. I'm going to cease spamming the bug with fixups.
The commit above (complete with gunk!) fixes the 'r' report by actually correcting error reporting so that we can see the real error: /usr/include/python2.6/pyconfig.h: 1004: _FILE_OFFSET_BITS redefined
Which makes a lot more sense. This looks to be because we're explicitly entering the largefile environment with -D
on the dtrace command line, but also with a #define in pyconfig.h
.
This error exists with the normal cpp
also
/usr/lib/cpp -D__sun -D__unix -D__SVR4 -D__SUNW_D=1 -D__SUNW_D_64 -D__SunOS_5_11 -D__i386 -DPHELPER -I. -I/usr/include/python2.6 -I/usr/gnu/include/ncurses -D_LARGEFILE64_SOURCE -D__SUNW_D_VERSION=0x01009000 -D__STDC__=0 phelper.d
"/usr/include/python2.6/pyconfig.h", line 1004: macro _FILE_OFFSET_BITS redefines previous macro at "/usr/include/sys/feature_tests.h", line 209
The command line being taken from that eventually passed to cpp
from dtrace
from smartos-live.
This has been fixed with Rich's work, see the pull request referenced above.
from smartos-live.
Related Issues (20)
- control+c kills "screen" HOT 3
- Creation of encrypted zpool during CN setup broken HOT 2
- LX Ubuntu 20.04 dnsmasq issue HOT 2
- reconcile different DHCP flags and spoof protection handling HOT 1
- unable to install on machine with no nic
- Spice on SmartOS guide is incorrect HOT 2
- feat: imgadm: add support for authentication to docker hub HOT 4
- atq coredump on SmartOS 20210114T163038Z and 20210311T001742Z HOT 16
- piadm can be nicer about being ran in a non-global zone
- localhost doesn't resolve to ::1, despite having the correct entry in /etc/hosts HOT 2
- OpenBSD BHYVE VM does not boot in SmartOS 20210311T001742Z and 20210325T002528Z anymore HOT 4
- dockerinit should support link-local routes
- Ship /usr/lib/pci/pcieadm HOT 1
- tmux troubles with port_associate on pkgsrc illumos HOT 5
- lx: add support for timers to target specific process/thread cpu clocks HOT 2
- mdata-put randomly hangs HOT 1
- NFS mounting broken on newish LX images HOT 7
- libera.chat address miss-typed in readme
- IPv6 partially broken under lx ubuntu 20.04 HOT 2
- p7zip commands silently truncated terminal-entered passwords to 8 characters HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartos-live.