Giter VIP home page Giter VIP logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
What machine architecture are you running on: intel, powerpc, other?  See the 
top of
the INSTALL file for details about what tests do not yet pass on what systems.

If you could include the full output of the make check output, that may also be
helpful in figuring out what's going wrong.

Original comment by [email protected] on 9 Feb 2008 at 12:15

from gperftools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
The x86_64 architecture which is mentioned in the subject is an Intel 64-bit
architecture.

For the full output of make check, see also the attachment make-check-output.txt


Original comment by [email protected] on 9 Feb 2008 at 7:14

Attachments:

from gperftools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
Update: when running the command below, all 22 tests pass:
$ ./configure --enable-frame-pointer && make && make check
...
===================
All 22 tests passed
===================

Can the configure script please be modified such that on x86_64
--enable-frame-pointer is enabled automatically ?

Original comment by [email protected] on 9 Feb 2008 at 7:24

from gperftools.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
Doh! -- I missed the subject line when looking for the machine info.  Sorry 
about that.

} Update: when running the command below, all 22 tests pass:
} $ ./configure --enable-frame-pointer && make && make check

Ah, I'm glad that fixed it.

} Can the configure script please be modified such that on x86_64
} --enable-frame-pointer is enabled automatically ?

Alas, it's not that simple; if you use --enable-frame-pointer, you also need to
ensure the other libraries you link in, including libc and libc++, have frame
pointers enabled.  This is not something the configure script can determine (as 
far
as I know).  It also requires that you compile all applications that link in
-ltcmalloc with -fno-omit-frame-pointers.  Overall, this is a brittle setting 
that
requires user awareness to work properly; it's not something best done 
automatically.

That said, --enable-frame-pointer should not be necessary if you're using 
libunwind,
which it sounds like you were doing.  Perhaps you were running into some of the
problems mentioned in the '64 bit notes' in the README.  It's hard to tell from 
the
logs you included unfortunately: I can see that the relevant tests are 
segfaulting,
but can't tell much about why.

If I have a chance I'll see I can reproduce this locally on my own x86_64 
development
machine.  Even if so, I'm not sure how much we can do to improve the situation. 
 The
fact x86_64 omits the frame pointer by default makes life difficult for us!  
But I
know libunwind is being actively developed in its own right, and improvements 
there
should benefit these tests as well.

Original comment by [email protected] on 9 Feb 2008 at 7:58

  • Changed state: WontFix

from gperftools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.