Re: kernel BUG at fs/ext4/mballoc.c:2993!

2010-08-07 Thread Justin P. Mattock

On 08/06/2010 11:45 PM, Ted Ts'o wrote:

On Fri, Aug 06, 2010 at 10:48:40PM -0700, Justin Mattock wrote:

hello,
I just built a fresh clfs system using the tutorial.. right now Im
able to boot and am able to login, the system seems to be running as
it should except for when I try to install gmp and/or do a /sbin/lilo
I see a message appear on screen(below) then if I do any kind of
command(dmesg>  dmesg) I get a stuck screen. has there been anything
similar to the below message?

keep in mind the kernel I'm using is 2.6.35-rc6 which on other
machines(same type of system) run just fine without such message.


Um, is this a completely modified 2.6.35-rc6 kernel?  The reason why I
ask is there is no BUG_ON at line fs/ext4/mballoc.c:2993 for that
kernel version.


no not modified at all. current git commit: 2.6.35-rc6-00191-ga2dccdb
but says 2.6.35-rc6 because git is not installed yet on this system.
(I was able to use ohci1394_dma=early to capture this, no ssh yet)


There are two BUG_ON statements nearby, but given the line number
doesn't match up with either one, it's hard to say for sure which one
triggered it.  What were the kernel messages right before the BUG_ON?
was there a "start N size NNN, fe_logical " (where  is
some number) right before the "cut here" message?

Have you tried forcing an fsck run on the file system to make sure
it's not caused by a file-system corruption?



before the cut here message I have loads of avc denials from SELinux 
showing up in the log, after the avc's denials I see this:


EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro,user_xattr
EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro,user_xattr

as for fsck I did not do that, but just saw on a reboot that it had 
fired off with nothing stating corruption or anything.



And have you tried using a standard released gcc so we can determine
for sure whether this is a potential kernel bug, file system
corruption issue, or gcc issue?

- Ted



this is strange.. I ended up taking a kernel from another 
machine(literally the same kernel) loaded it up etc.. after booting up 
doing /sbin/lilo worked, installing gmp worked.. prior too make install 
with gmp would trigger this half way through the installation reliably 
as well as /sbin/lilo, and now nothing of the sort of what I posted.
After testing the other machines kernel I recompiled the kernel on the 
new system rebooted and did those steps to reproduce with nothing of the 
sort of what I had posted as well.


The only thing I can think of is during my building of the system, is 
maybe this was happening because I built the kernel as root i.e. I 
usually will chroot towards the end of building a system, build the 
kernel as root, check the symlinks, configurations, then tar ball the 
whole thing and transfer, then once booted into the new system, start 
building everything all over again.


as for the gcc version I'm using 4.6.0 20100731 as for this being the 
culprit.. not sure if building the kernel as root causes gcc to change 
things with this version of gcc or not..


Right now, as I write things look normal again, I've done /sbin/lilo 
numerous times with all a success, and built gmp mpfr just to make sure 
with all being a success.


Justin P. Mattock








Re: some integer undefined behaviors in gcc

2010-08-07 Thread Florian Weimer
* John Regehr:

> I ran gcc 162830 on x86 under a tool that checks for integer undefined
> behaviors.  The attached error messages show up when running "make
> check" and when recompiling gcc.
>
> Each line in the attachment is an error message giving the problematic
> operator, its srcloc, the types of its operands, and examples of
> offending values.
>
> Let me know if more detail is needed or if it would be better for me to
> file all 71 bug reports.

I wonder if we should give up and make -fwrapv the default.


Can a front end pass information to the Value Range Propagation Pass ?

2010-08-07 Thread Toon Moene
Recently, Thomas Koenig introduced an optimization in the Fortran Front 
End that enables it do determine that in:


subroutine foo(a,n,i,j)
  implicit none
  integer, intent(in) :: i,j,n
  real, dimension(20) :: a
  a(1:10) = a(i:j)
  ...
end subroutine foo

the assignment of a(i:j) to a(1:10) does not need a temporary array to 
store a(i:j), because i cannot be smaller than 1 (the lower bound of the 
array a, by its declaration as "real, dimension(20) :: a", which 
establishes a as an array of real, a(1:20).)


Because i cannot be legally smaller than 1, this assignment can be 
performed without a temporary (either it is a partial copy of an exactly 
overlapping array slice, or it copies from higher indices to lower).


However, two more observations can be drawn from the fact that both 
sides of the assignment have to be conformable (of the same shape):


1 <= i <= 11 (because a ten element copy can't arrive after element 11).
j = i + 9(because the LHS is ten elements long, so the RHS).

Can this information be passed from the Front End to GIMPLE, for use in 
Value Range Propagation optimization ?  If so, how ?


[ It might be hard to generalize this to multi-rank arrays, yet the
  opportunity is there ]

Cheers,

--
Toon Moene - e-mail: t...@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/
Progress of GNU Fortran: http://gcc.gnu.org/gcc-4.5/changes.html#Fortran


�yJ-REIT.NET�z�s���Y�������ጟ���p�̖����f�[�^�x�[�X�̂��ē�

2010-08-07 Thread J-REIT

 J-REIT.NET ━━━━━━━━━━━━━━━━━━━━━━━━━━●

 ≪≪ 不動産売買事例検索用の無料データベースのご案内 ≫≫

●━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


J-REIT.NETは、J-REITの売買事例を集約した、強力な分析機能を有する
不動産売買データベースです。

ただいま、J-REIT.NETはベータ版での運営を行っておりますが、システム
改良のための無料会員を募集しており、ご連絡させて頂きました。

http://www.j-reit.net/

J-REIT.NETでは、不動産売買データベースから以下のような各種スコアを
分析し、 不動産売買を行う不動産ファンドの参考情報として、銀行等の
レンダーの担保物件の分析情報として、 不動産鑑定業者の参考情報として
の情報を提供します。
なお、全ての物件情報は印刷画面を用意していますので、そのままプリント
アウトして頂き、 事例として利用ができます。

■ J-REIT売買情報

・J-REITの物件売買情報の一覧表示
・売買物件ごとの取引利回り(キャップレート:CAP RATE)
・物件収益力(NOI・NCF)
・物件損益(賃貸収益・賃貸費用・減価償却費・CAPEX)
・有効坪単価
・物件種別・地域・取引時期による取引事例の検索
・地域ごと利回り比較など各種ランキング
・J-REITの適時開示(IR情報)へのリンク
・「Google マップ」による物件地図を表示

■ 上場企業売買情報

・上場企業の物件売買情報の一覧表示
・土地坪単価
・延床単価
・適時開示(IR情報)へのリンク

■ ご利用方法

現在ベータ版での運用を行っていますが、ベータ版の利用には事前登録が
必要です(登録は無料です)。
ご利用される方は下記フォームからE-MAILの登録をお願い致します。

http://www.j-reit.net/trd/trd_login_menu.php 

□ 新着J-REIT売買事例

最新の売買事例をお届けします。


・20100804: ビ・ライフ投資法人(ニューシティレジデンス湘南(売却))
http://www.j-reit.net/trd/trd_des.php?t=2103

・20100729: オリックス不動産投資法人(オリックス目黒ビル)
http://www.j-reit.net/trd/trd_des.php?t=2102

・20100726: 日本賃貸住宅投資法人(ヒルトップ横濱根岸(売却))
http://www.j-reit.net/trd/trd_des.php?t=2101

・20100713: 日本プライムリアルティ投資法人(ビックス新宿ビル(追加取得分))
http://www.j-reit.net/trd/trd_des.php?t=2100

・20100708: 野村不動産レジデンシャル投資法人(アーバンステージ板橋区役所前)
http://www.j-reit.net/trd/trd_des.php?t=2098

・20100708: オリックス不動産投資法人(ラウンドクロス赤坂見附(売却))
http://www.j-reit.net/trd/trd_des.php?t=2099

・20100630: インヴィンシブル投資法人(レキシントン・プラザ広島大手町(売却))
http://www.j-reit.net/trd/trd_des.php?t=2096

・20100630: インヴィンシブル投資法人(ビッグタワー南 3 条(売却))
http://www.j-reit.net/trd/trd_des.php?t=2095

・20100630: インヴィンシブル投資法人(レキシントン・スクエア伏見(売却))
http://www.j-reit.net/trd/trd_des.php?t=2094

・20100629: ビ・ライフ投資法人(イプセ市ヶ谷)
http://www.j-reit.net/trd/trd_des.php?t=2092

・20100629: ビ・ライフ投資法人(ライオンズマンション東青梅第三(売却))
http://www.j-reit.net/trd/trd_des.php?t=2091


□ CRE(企業不動産)情報:最新売買事例

J-REIT.NETでは、企業の不動産の売買事例についても開示しています。
http://www.j-reit.net/

最新の売買事例をお届けします。


・20100729: リゾートトラスト(株)(神戸市灘区六甲山町土地)
http://www.j-reit.net/trd/trd_com_des.php?t=94

・20100727: 東京インキ(株)(埼玉県比企郡配送センター)
http://www.j-reit.net/trd/trd_com_des.php?t=93

・20100726: トーセイ(株)(ヒルトップ横濱根岸)
http://www.j-reit.net/trd/trd_com_des.php?t=92

・20100630: (株)エヌ・ピー・シー(愛媛県松山市建物)
http://www.j-reit.net/trd/trd_com_des.php?t=91

・20100629: テクニカル電子(株)(大田区大森西土地)
http://www.j-reit.net/trd/trd_com_des.php?t=89

・20100629: クラボウ(旧倉敷チボリ公園跡地の一部(売却))
http://www.j-reit.net/trd/trd_com_des.php?t=90

・20100618: トーカロ(株)(宮城県黒川郡更地)
http://www.j-reit.net/trd/trd_com_des.php?t=88

・20100615: タイヨーエレック(株)(瀬戸工場(愛知県瀬戸市))
http://www.j-reit.net/trd/trd_com_des.php?t=87

・20100615: (株)エヌ・ピー・シー(愛媛県松山市西垣生町 土地)
http://www.j-reit

gcc-4.6-20100807 is now available

2010-08-07 Thread gccadmin
Snapshot gcc-4.6-20100807 is now available on
  ftp://gcc.gnu.org/pub/gcc/snapshots/4.6-20100807/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 4.6 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision 162985

You'll find:

gcc-4.6-20100807.tar.bz2  Complete GCC (includes all of below)

gcc-core-4.6-20100807.tar.bz2 C front end and core compiler

gcc-ada-4.6-20100807.tar.bz2  Ada front end and runtime

gcc-fortran-4.6-20100807.tar.bz2  Fortran front end and runtime

gcc-g++-4.6-20100807.tar.bz2  C++ front end and runtime

gcc-java-4.6-20100807.tar.bz2 Java front end and runtime

gcc-objc-4.6-20100807.tar.bz2 Objective-C front end and runtime

gcc-testsuite-4.6-20100807.tar.bz2The GCC testsuite

Diffs from 4.6-20100731 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-4.6
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.


ykuomkoll.

2010-08-07 Thread weidongzu8742
  ÄúºÃ : 
   ±¾Ë¾ÏÖÓÐ:  ÆÕͨ  `ÔËÊä  ` ¹ã¸æ ` ÉÌÆ·  `ÆÕͨÔöÖµ¡® 
 ½¨Öþ°²×°.  µÈ{¹ú/µØ¶}óŠàÑÓŻݴú¿ª.  
ÁªÏµÈË: Áº  Éú   ÊÖ»ú:  139 2654 1830
¿ÉÏÈÌṩ¶/ƱÓú󸶿î. »¶Ó­À´µçǢ̸¡£

__
¸Ï¿ì×¢²áÑÅ»¢³¬´óÈÝÁ¿Ãâ·ÑÓÊÏä?
http://cn.mail.yahoo.com



Template information with GCC 4.5

2010-08-07 Thread Kien Nguyen Trung
Hi all

I want to write a plugin for GCC 4.5. Now i have a problem.

When visit a var_decl node. We can get name of node and tree node
reperesent for that type of node by marco TREE_TYPE(node)

But it not work with template decl. For example:

class C { // define class in here };

C a;

When I use TREE_TYPE on node represent for a, i only get the node
represent for C. But i want "C".

So what macro will provide me to get that template information? Please help me