On 07/18/2013 08:29 PM, Andy Lutomirski wrote:
On Thu, Jul 18, 2013 at 6:17 PM, David Daney wrote:
On 07/18/2013 05:50 PM, Andy Lutomirski wrote:
On Thu, Jul 18, 2013 at 5:40 PM, David Daney
wrote:
On 07/18/2013 05:26 PM, Andy Lutomirski wrote:
How is this different than throwing
On 07/18/2013 05:50 PM, Andy Lutomirski wrote:
On Thu, Jul 18, 2013 at 5:40 PM, David Daney wrote:
On 07/18/2013 05:26 PM, Andy Lutomirski wrote:
Windows has a feature that I've wanted on Linux forever: stack-based
(i.e. scoped) exception handling. The upshot is that you can do,
ro
handler?
GCC already supports this on many architectures running on the Linux kernel.
You can do it from C using incantations like those found in the GCC
testsuite's gcc/testsuite/gcc.dg/cleanup-9.c file.
From C++ it is even easier, it is just a normal exception.
David Daney
Wi
the web site lacking.
David Daney
If you have information here for me I would rather help in assessing whether
the compiler for use in safety-relevant area is suitable.
The second point of my work is concerned with the treatment of releases. Are
you putting any kind of evidences in your source-co
stion.
David Daney
cc.gnu.org/ml/gcc-testresults/2012-12/msg01861.html
[hjl@gnu-4 src-4.7]$ cat gcc/REVISION
[gcc-4_7-branch revision 194514]
[hjl@gnu-4 src-4.7]$
The last time I checked, gcc/REVISION is only set to the proper value by
running contrib/gcc_update.
David Daney
On 09/06/2012 01:48 PM, Mike Stump wrote:
On Sep 6, 2012, at 1:09 PM, David Daney wrote:
On 09/06/2012 01:00 PM, Ian Lance Taylor wrote:
On Thu, Sep 6, 2012 at 11:56 AM, Mike Stump wrote:
Where in the manual are the machine specific print operand modifiers
documented? I've looked a
cument the state of the art. That could be a bit
of work.
David Daney
be very convenient though.
Thanks,
David Daney
On 09/06/2011 10:55 AM, David Daney wrote:
On 09/05/2011 12:50 AM, Romain Geissler wrote:
Hi
Is there any particular reason to load plugin with the RTLD_NOW option?
This option force .so symbol resolution to be completely made at load
time,
but this could be done only when a symbol is needed
m C++
symbols only when present. With RTLD_NOW, the plugin fails to load in cc1 as
symbol resolution is forced at load time.
Can you supply weak binding implementations for the missing functions?
That might allow the linking to succeed.
David Daney
ing it.
I think all Linux ABIs should support unwinding through signal handlers,
so adding this makes sense to me.
David Daney
So, suggestions welcome. Is there a nice way to detect a signal frame?
On 05/09/2011 07:32 AM, Andrew Haley wrote:
On 05/09/2011 03:28 PM, Ralf Baechle wrote:
On Mon, Feb 21, 2011 at 07:45:41PM +, Richard Sandiford wrote:
David Daney writes:
Background:
Current MIPS 32-bit ABIs (both o32 and n32) are restricted to 2GB of
user virtual memory space. This
On 05/09/2011 07:28 AM, Ralf Baechle wrote:
On Mon, Feb 21, 2011 at 07:45:41PM +, Richard Sandiford wrote:
David Daney writes:
Background:
Current MIPS 32-bit ABIs (both o32 and n32) are restricted to 2GB of
user virtual memory space. This is due the way MIPS32 memory space is
On 05/06/2011 01:29 AM, Alexandre Oliva wrote:
On Feb 15, 2011, David Daney wrote:
On 02/15/2011 09:56 AM, Alexandre Oliva wrote:
On Feb 14, 2011, David Daney wrote:
So, sorry if this is a dumb question, but wouldn't it be much easier to
keep on using sign-extended addresses, and
this do we need to patch up the register state
before executing the throw?
David Daney
of latent bugs and introduction of new bugs. I
don't think there is so the only practical thing to do is apply any rule
we have to all build breakers.
David Daney
error: in default_secondary_reload, at
targhooks.c:769
Please submit a full bug report,
with preprocessed source if appropriate.
See<https://support.codesourcery.com/GNUToolchain/> for instructions.
Look, it tells you exactly what to do. Go visit that web site.
Thanks,
David Daney
On 03/17/2011 11:20 AM, McCall, Ronald SIK wrote:
If you let us in on what exactly the secret differences were, it would
be easier to opine on this topic.
Sure thing! Here is an instruction sequence from the original Solaris
toolchain:
Resending to gcc@. I didn't really want a private mes
xactly the secret differences were, it would
be easier to opine on this topic.
David Daney
On 02/14/2011 12:29 PM, David Daney wrote:
Background:
Current MIPS 32-bit ABIs (both o32 and n32) are restricted to 2GB of
user virtual memory space. This is due the way MIPS32 memory space is
segmented. Only the range from 0..2^31-1 is available. Pointer
values are always sign extended
On 02/16/2011 02:32 PM, Paul Koning wrote:
On Feb 16, 2011, at 5:25 PM, David Daney wrote:
What is the state of your C0_Status[{KX,SX,UX}] bits?
0, 0, 0
It is not really a compiler bug, but rather a defect in the n32 ABI. When using
32-bit pointers you can only do 32-bit operations on
On 02/16/2011 02:10 PM, Paul Koning wrote:
On Feb 16, 2011, at 5:08 PM, David Daney wrote:
On 02/16/2011 01:44 PM, Paul Koning wrote:
I'm running into a crash caused by mishandling of address calculation of an
array element address when that array is near the bottom of
place anything in the 2^16 byte region
centered on the split.
The Linux kernel works around this by not using the lower 32kb of
ckseg0. It also never user the top 32kb of useg when in 32bit mode.
David Daney.
on't know how hard it would be to make ptrdiff_t a signed 64-bit
type. That would certainly complicate things somewhat.
David Daney
On 02/15/2011 09:56 AM, Alexandre Oliva wrote:
On Feb 14, 2011, David Daney wrote:
Current MIPS 32-bit ABIs (both o32 and n32) are restricted to 2GB of
user virtual memory space. This is due the way MIPS32 memory space is
segmented. Only the range from 0..2^31-1 is available. Pointer
On 02/14/2011 07:00 PM, Matt Thomas wrote:
On Feb 14, 2011, at 6:50 PM, David Daney wrote:
On 02/14/2011 06:33 PM, Matt Thomas wrote:
On Feb 14, 2011, at 6:22 PM, David Daney wrote:
On 02/14/2011 04:15 PM, Matt Thomas wrote:
I have to wonder if it's worth the effort. The pr
On 02/14/2011 06:33 PM, Matt Thomas wrote:
On Feb 14, 2011, at 6:22 PM, David Daney wrote:
On 02/14/2011 04:15 PM, Matt Thomas wrote:
I have to wonder if it's worth the effort. The primary problem I see
is that this new ABI requires a 64bit kernel since faults through the
upper 2G wi
On 02/14/2011 06:34 PM, Matt Thomas wrote:
On Feb 14, 2011, at 6:26 PM, David Daney wrote:
On 02/14/2011 06:14 PM, Joe Buck wrote:
On Mon, Feb 14, 2011 at 05:57:13PM -0800, Paul Koning wrote:
It seems that this proposal would benefit programs that need more than 2 GB but
less than 4 GB
t machine!) but lots of paying customers clamored for it.
(I personally don't have an opinion on whether it's worth bothering with).
Also look at the new x86_64 ABI (See all those X32 psABI messages) that
the Intel folks are actively working on. This proposal is very similar
to wha
On 02/14/2011 04:15 PM, Matt Thomas wrote:
On Feb 14, 2011, at 12:29 PM, David Daney wrote:
Background:
Current MIPS 32-bit ABIs (both o32 and n32) are restricted to 2GB of
user virtual memory space. This is due the way MIPS32 memory space is
segmented. Only the range from 0..2^31-1 is
Background:
Current MIPS 32-bit ABIs (both o32 and n32) are restricted to 2GB of
user virtual memory space. This is due the way MIPS32 memory space is
segmented. Only the range from 0..2^31-1 is available. Pointer
values are always sign extended.
Because there are not already enough MIPS ABIs
der linux-mips64* is to ignore all
those details.
Based on my almost complete lack of libgo knowlege, I think the
selection of a specific syscall_linux_${GOARCH}.go file would not care
about soft/hard float issues.
David Daney
nk assigning the value of GOARCH to it makes
much sense.
Since libgo doesn't even currently build under linux-mips*, we could
change the values of GOARCH generated for mips without causing regressions.
I would suggest:
GOARCH=mips# o32
GOARCH=mips64n32 # Would you believe n32?
GOARCH=mips64n64 # ...n64
David Daney
linux_mips.go can be shared between both the
o32 and n32 libraries.
How to sort this out?
David Daney
On 12/30/2010 12:28 PM, H.J. Lu wrote:
On Thu, Dec 30, 2010 at 12:27 PM, David Daney wrote:
On 12/30/2010 12:12 PM, H. Peter Anvin wrote:
On 12/30/2010 11:34 AM, David Daney wrote:
My suggestion: Since people already spend a great deal of effort
maintaining the existing i386 compatible
On 12/30/2010 12:12 PM, H. Peter Anvin wrote:
On 12/30/2010 11:34 AM, David Daney wrote:
My suggestion: Since people already spend a great deal of effort
maintaining the existing i386 compatible Linux syscall infrastructure,
make your new 32-bit x86-64 Linux syscall ABI identical to the
sting
i386 syscall ABI. This means that the psABI must use the same size and
alignment rules for in-memory structures as the i386 does.
David Daney
ecj installed, so it's one dependency more and
one less.
I may be mistaken, but I don't think that is true. Building and testing
of libgcj *does not* require ecj.
David Daney
n struct target_flag_state *this_target_flag_state;
Which when preprocessed we get:
expr.i:??? extern struct target_flag_state *(&default_target_flag_state);
Which evidently is not valid C.
I am not sure how to go about fixing this.
Do you have any ideas?
David Daney
numbers during this outage? Will bugzilla eventually end up with the
commit comments we have all come to know and love?
David Daney
I don't know the answers to your specific questions, but I do know that
java questions might get faster response if cross posted to java@ (now
CCed).
David Daney
On 09/10/2010 03:50 PM, Steven Bosscher wrote:
Hello,
There is just one front-end file left that still has to #
On 08/30/2010 08:36 PM, Adam Jiang wrote:
On Mon, Aug 30, 2010 at 10:43:44AM -0700, David Daney wrote:
On 08/30/2010 09:46 AM, Richard Henderson wrote:
On 08/30/2010 03:45 AM, Adam Jiang wrote:
When I read the source in Linux kerne, it was said that stack canary for
implementing stack
s not implemented for MIPS.
For the Linux kernel, the MIPS stack canary would be a constant offset
(that depends on PAGE_SIZE) from register $28.
David Daney
On 08/06/2010 10:51 AM, Bruce Korb wrote:
On 08/06/10 10:24, David Daney wrote:
On 08/06/2010 10:19 AM, Bruce Korb wrote:
The problem seems to be that GDB thinks all the code belongs to a
single line of text. At first, it was a file of mine, so I presumed
I had done something strange and
ates that GDB 7.0 or later would be good candidates.
David Daney.
et
to?
The source is available somewhere, I have seen it.
j...@gcc.gnu.org is the best place to ask java questions. Let's see
what they say over there.
David Daney
cal Discontents,
and trying to accommodate all of them would surly be determental to GCC.
I think that some potential contributors are discouraged from
contributing because they have been frightened away (by the Vocal
Discontents mentioned above) before they can get started.
David Daney
embler and
linker.
David Daney
with Jason's suggestion, it is probably the right
choice.
David Daney
fanqifei wrote:
2010/1/13 Bingfeng Mei :
Your instruction is likely too specific to be picked up by GCC.
You may use an intrinisc for it.
Bingfeng
but insv is a standard pattern name.
the semantics of expression x= (x&0xFF00) | ((i<<16)&0x00FF);
is exactly what insv can do.
I all trie
ctures start adding funky tables that get generated by
the inline asm (as in x86), __builtin_trap() becomes less useful.
David Daney
Jamie Lokier wrote:
Uwe Kleine-König wrote:
Use the new unreachable() macro instead of for(;;);
*(int *)0 = 0;
/* Avoid "noreturn function does return" */
- for (;;);
+ unreachable();
Will GCC-4.5 remove ("optimise away") the *(int *)0 = 0 because it
knows the branch o
work around the problem. Just reloading the page
works as well.
I don't know what it would take to put an expiration date on those pages
that are updated monthly so that the reload wouldn't be necessary.
David Daney
t is done in the
delay slot of the call instruction, which would otherwise be a nop.
David Daney
ey are only
lightly tested, but they could be a starting point.
I will dig them out and post them this weekend.
David Daney.
NightStrike wrote:
On Thu, Jun 18, 2009 at 12:58 PM, Andrew Haley wrote:
NightStrike wrote:
On Thu, Jun 18, 2009 at 12:27 PM, David Daney wrote:
NightStrike wrote:
Given the recent issues with libffi being so drastically out of synch
with upstream, I was curious about boehm-gc and how that
Andrew Haley wrote:
NightStrike wrote:
On Thu, Jun 18, 2009 at 12:27 PM, David Daney wrote:
NightStrike wrote:
Given the recent issues with libffi being so drastically out of synch
with upstream, I was curious about boehm-gc and how that is handled.
In getting gcj to work on Win64, the next
aluated to see if they should be).
David Daney
gether that are all accessed via mechanisms like the URLConnection,
and the various crypto implementations.
David Daney
I think standard Debian only supplies o32 (abi=32) libraries. I had to
cross-compile glibc et. al before I could do a native multilib mips64
build of stock GCC. But maybe I was doing something wrong...
David Daney
is feature will be supported only if scandir is available.
And would you preemptivly scan all include directories and flatten all
names found, or would you only do it on failure to find the name as
written (i.e. could you address Chris' question)?
David Daney
' variety you mention.
Would you want to make it fully case insensitive or only try the
lower->upper case?
David Daney
Richard Sandiford wrote:
Hi David,
David Daney <[EMAIL PROTECTED]> writes:
Richard and others,
I have a (still broken) patch that tries to fix the fallout from the
change in semantics of the __sync_nand faimily of builtins that occurred
recently on the trunk.
If someone else is w
press on with it.
The main point of this message is to try to avoid duplication of effort.
Thanks,
David Daney
Zhang Le wrote:
On 10:33 Mon 01 Dec , David Daney wrote:
Zhang Le wrote:
BASE_DRIVER_SELF_SPECS \
+LINUX_DRIVER_SELF_SPECS \
" %{!EB:%{!EL:%(endian_spec)}}" \
" %{!mabi=*: -mabi=n32}"
You are missing a comma there between BASE_DRIVER_SELF_SPECS and
LINUX_DRIVER_SEL
/gcc-patches/2008-12/msg00033.html
David Daney
his without
introducing additional runtime cost.
As I said in the other part of the thread, We are working on a GCC patch
that adds a new built-in function '__builtin_noreturn()', that you could
substitute for 'for(;;);' that emits no instructions in this case.
David Daney
Geert Uytterhoeven wrote:
On Fri, 21 Nov 2008, Alan Cox wrote:
On Thu, 20 Nov 2008 17:26:36 -0800
David Daney <[EMAIL PROTECTED]> wrote:
MIPS: Make BUG() __noreturn.
Often we do things like put BUG() in the default clause of a case
statement. Since it was not declared __noreturn, this
ted to GCC until it contains an FSF copyright
notice. Before it is committed it is your code, do whatever you want.
David Daney
mble folk. Much has happened, but we don't like to make
a big spectacle of it.
I would recommend following [EMAIL PROTECTED] instead.
David Daney
Adam,
As shown here:
http://gcc.gnu.org/ml/gcc-testresults/2008-09/msg01775.html
gcc.target/mips/octeon-exts-2.c is failing when configured --with-arch=sb1
Do you know if it is failing universally or only on non-octeon targets?
David Daney
Adam,
As shown here:
http://gcc.gnu.org/ml/gcc-testresults/2008-09/msg01775.html
gcc.target/mips/octeon-exts-2.c is failing when configured --with-arch=sb1
Do you know if it is failing universally or only on non-octeon targets?
David Daney
lly use diff rather than compare_tests?
That would be nice, but you could sort your FAILs if it changed and be
able to compare the sorted lists.
But stability within a given revision of the testsuite I think would be
almost essential.
David Daney
pecific CPU specified by -mcpu=?
I was thinking of doing something similar on MIPS where there are
similar issues.
David Daney
Within the last two days my MIPS bootstraps are failing.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37360
It worked back on:
http://gcc.gnu.org/ml/gcc-testresults/2008-09/msg00118.html
David Daney
at all the repeats are generated by gmail.com. You will note
that NightStrike's messages are repeated as well.
David Daney
ginal patch code remains. If so, probably
a copyright assignment for the original author would be required as well (at
least that is my understanding).
David Daney
Dave Korn wrote:
David Daney wrote on 12 August 2008 18:19:
Questions like this should probably go to [EMAIL PROTECTED]
Questions about deep compiler internals and EH abis? Seems a bit intense
for the where's-the-any-key list to me...
gcc@ is for questions about development o
If you are loading the code some other way, then you may have to call some of
the __register_frame* family of functions (in libgcc) passing pointers to the
appropriate .eh_frame sections of the generated code.
I imagine that GCJ has do to this ind of thing?
g++ as well.
David Daney
rested in any efforts to convert the class
> libraries, on some basis, for microcontroller usage. Clearly this cannot be
> a direct compilation in all cases, especially for graphics, but any such
> activity may beat starting from square one.
>
GCC ships with a fairly complete java runtime library (libgcj).
David Daney
ht also be a good idea to get a real lawyer to help you evaluate
your exact situation.
David Daney
Richard Sandiford wrote:
David Daney <[EMAIL PROTECTED]> writes:
Richard Sandiford wrote:
David Daney <[EMAIL PROTECTED]> writes:
Ralf Baechle wrote:
On Wed, Jun 11, 2008 at 10:04:25AM -0700, David Daney wrote:
The third operand to 'ins' must be a constant int, not a
Richard Sandiford wrote:
> David Daney <[EMAIL PROTECTED]> writes:
>> Ralf Baechle wrote:
>>> On Wed, Jun 11, 2008 at 10:04:25AM -0700, David Daney wrote:
>>>
>>>> The third operand to 'ins' must be a constant int, not a register.
Ralf Baechle wrote:
On Wed, Jun 11, 2008 at 10:04:25AM -0700, David Daney wrote:
The third operand to 'ins' must be a constant int, not a register.
Signed-off-by: David Daney <[EMAIL PROTECTED]>
---
include/asm-mips/bitops.h |6 +++---
1 files changed, 3 insertions(+), 3 de
with my target
receiver.
So where is the goto setup code created? And is there a bug here?
Perhaps you need to implement one or more of: save_stack_nonlocal,
restore_stack_nonlocal, nonlocal_goto, and/or nonlocal_goto_receiver.
David Daney
runk build shows many FAILures
that are only on the branch.
Although I didn't investigate, the FAILure in libjava/Array_3, usually
indicate that exception handling is broken in some way.
David Daney
lures.
Having this would allow VRP to eliminate a good bit of dead code for
common java constructs.
See also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24825
Thanks,
David Daney
ple algorithm that can
distinguish the second :-).
David Daney
Dave Korn wrote:
David Daney wrote on 01 April 2008 17:10:
Does the intent really matter?
Well, it certainly has a bearing on how amenable to modification under
social pressure his behaviour might or might not be.
We have determined this empirically over the course of many months, the
ons'.
Does the intent really matter? Since it is difficult if not impossible
to know the intent, as a practical matter we can only try to manage his
actions.
David Daney
small testcase would be useful.
David Daney
s. This would kill the entire
.NET bird with one stone.
Since there is perhaps a larger effort required to implement the runtime
support you would still have a lot of work to do after the basic
compiler was implemented.
David Daney
You can try: http://www.cfdvs.iitb.ac.in/~amv/gcc-int-docs/#gccdocs
This link is amazing! Who maintains it?
Did you try looking at the bottom of the referenced page? It would
appear that the information you desire is there.
David Daney
to leave this as issue open.
>
MIPS uses an unspec_volatile in the nonloca_goto_receiver That keeps it
from being removed.
David Daney
nefit,
you also get the ability to shoot yourself in the foot.
This is of course documented in:
http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcj/Linking.html
David Daney
.
Otherwise if it is an unmodified GCC, you can file a bug report as
explained here:
http://gcc.gnu.org/bugs.html
David Daney
.html
The license is listed as "Apache License, 2.0", I think this should
probably read "GPL3"
David Daney
d observe unexpected behavior.
In this case probably either corrupted memory or a SIGSEGV.
David Daney
Richard Guenther wrote:
On Tue, Mar 4, 2008 at 7:31 PM, David Daney <[EMAIL PROTECTED]> wrote:
Perhaps anything declared volatile should have these semantics.
Although mentioning 'volatile' on the lkml is probably not a good idea.
Certainly not. volatile has nothing t
1 - 100 of 275 matches
Mail list logo