bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #33566] Hurd fails to (cross-)build with `-O0'


From: Ludovic Courtès
Subject: [bug #33566] Hurd fails to (cross-)build with `-O0'
Date: Tue, 14 Jun 2011 20:49:07 +0000
User-agent: Mozilla/5.0 (GNU; rv:1.9.1.7) Gecko/20100107 IceCat/3.6 (like Firefox/3.6)

URL:
  <http://savannah.gnu.org/bugs/?33566>

                 Summary: Hurd fails to (cross-)build with `-O0'
                 Project: The GNU Hurd
            Submitted by: civodul
            Submitted on: Tue 14 Jun 2011 08:49:06 PM GMT
                Category: glibc
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Reproducibility: None
              Size (loc): None
         Planned Release: None
                  Effort: 0.00
Wiki-like text discussion box: 

    _______________________________________________________

Details:

Hello,

With `-O0', the Hurd fails to cross-build:

#v+
i586-pc-gnu-gcc
-Wl,-rpath-link=.:../libtrivfs/:../libports/:../libihash/:../libps/:../libpipe/:../libiohelp/:../libpager/:../libdiskfs/:../libftpconn/:../libnetfs/:../libcons/:../libstore/:../libshouldbeinlibc/:../libfshelp/:../libthreads/:../libhurdbugaddr/
-O0 -g -std=gnu99 -fgnu89-inline -Wall -g -O3  -O0 -g -std=gnu99
-fgnu89-inline -Wall -g -O3  -O0 -g    -uargp_program_bug_address -o auth \
              auth.o authServer.o auth_replyUser.o \
      '-Wl,-(' ../libhurdbugaddr/libhurdbugaddr.so ../libthreads/libthreads.so
../libports/libports.so ../libihash/libihash.so
../libshouldbeinlibc/libshouldbeinlibc.so \
                 \
      '-Wl,-)'
../libthreads/libthreads.so: undefined reference to
`__hurd_threadvar_location'
collect2: ld returned 1 exit status
make[1]: *** [auth] Error 1
#v-

The problem doesn't occur at `-O1' and above.

This is with:

  - Hurd ffd73488f9eecdb9da40e15f5fdcebf392cb88f8
  - Glibc from Savannah's hurd/glibc.git, branch `tschwinge/Roger_Whittaker',
glibc-2.11-1140-ge6d0540
  - GCC 4.5.1, set to cross-build from GNU/Linux.

Thanks,
Ludo'.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?33566>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]