Re: libc6 gcc wrapper

From: GCS (gcs_at_lsc.hu)
Date: 10/25/03

  • Next message: Conrad Newton: "Re: Problem Maintaining Subscription"
    Date: Sat, 25 Oct 2003 16:59:53 +0200
    To: debian-user@lists.debian.org
    
    
    

    Hi,

    On Sat, Oct 25, 2003 at 12:40:54AM +0100, Pigeon <jah.pigeon@ukonline.co.uk> wrote:
    > Er, I think you may have misunderstood... I have a wrapper around gcc
    > to ensure it is always called with my desired optimisation options
    > even if I'm compiling a package with ill-behaved makefiles that ignore
    > CFLAGS etc. Simply to compile a package does not of itself require a
    > wrapper.
     No, I was right. I am some kind of experienced Debian user, and
    ofcourse I compile with debuild only. Why I was requisting the wrapper
    is a simple fact, that it may help to enforce the same gcc flags for
    every *.c/*.cpp files

    > In particular, it doesn't sound like your problem can be solved by the
    > use of a wrapper. Off the top of my head I'd guess that perhaps your
    > gcc installation has been corrupted
     Well, it should not be a problem, as it's almost freshly installed
    system, and I can compile other big things like an universal kernel
    (everything are compiled as modules, with added patches like Orlov for
    ext3, grsecurity and the like). On an other test machine this kernel can
    boot up via initrd, and use two different scsi cards, two different
    network cards, and use ide for 60Gb LVM2 partitions.

    > That's little more than guessing
    > though.
     Yes, that's why I am lost. Previously I thought it was because I
    altered glibc, but it's the same with apt-get source glibc and debuild
    immediately without changing anything.

    > Can you compile other stuff OK?
     Yes, and it seems it's neither a memory problem, I run unstable on this
    machine with Gnome2.4, compile a lot of stuff, and this is the only
    problem I have.
     I think I should write about what I am trying to achieve: I would like
    to compile a _locale package only_, where the default locale is hu, and
    it's being generated with locale-gen. So the only thing I mess with
    libc6 is because they come from the same source: glibc.

    > What exactly segfaults?
     See the attached script. It's ugly, but may be better for our case than
    debootstrap. This script should install a chroot system from the testing
    packages, but as soon as one of the packages would like to use hostname,
    and it's not found at the stage, I get a segfault. If all I do is to put
    back the original libc6 and locales packages from the debian archive,
    then everything are fine.

    > (well actually I'm sending it to debian-user and BCCing you since I
    > can't find your email address on the list for the last few months and
    > don't want to risk inundating you with swen).
     Thanks for it, I do appreciate it!

    > Since you've asked for it, I'm attaching my wrapper... please note:
     Thanks! I hope I can try it soon.

    Cheers,
    GCS

    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Conrad Newton: "Re: Problem Maintaining Subscription"

    Relevant Pages

    • Re: Install directory conventions
      ... Does GCC have a package management system? ... Packages are usually easier to install and uninstall; with source code ... pre-compiled compiler that I can use to compile GCC? ...
      (comp.unix.questions)
    • libstdc++5 problem
      ... after which firefox worked ok. ... Then I tried to compile a few programs and hit, with each time, the same ... clearly I have a problem here since my version of gcc is the stable ... dependencies seem to require that I remove my kernel-image package! ...
      (Debian-User)
    • Re: FreePascal
      ... If Ubuntu can use gcc to compile the gcc package, ...
      (Ubuntu)
    • Re: libc6 gcc wrapper
      ... > I have read on debian-user that you could compile libc6 for yourself ... > with a wrapper around gcc. ... I'm CCing this to debian-user, in case anyone there has any insights ...
      (Debian-User)
    • Re: Install directory conventions
      ... Does GCC have a package management system? ... Packages are usually easier to install and uninstall; ... pre-compiled compiler that I can use to compile GCC? ...
      (comp.unix.questions)