bugThe GNU Hurd - Bugs: bug #33566, Hurd fails to (cross-)build with...

 
 

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

Submitted by:  Ludovic Courtès <civodul>
Submitted on:  Tue 14 Jun 2011 08:49:06 PM UTC  
 
Category: glibcSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: OpenReproducibility: None
Size (loc): NonePlanned Release: None
Effort: 0.00
Wiki-like text discussion box: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 14 Jun 2011 09:55:48 PM UTC, comment #1:

It should be provided by glibc, similar to stdlib/inlines.c. Apparently
we're missing such file for hurd inlines.

Samuel Thibault <sthibaul>
Project Member
Tue 14 Jun 2011 08:49:06 PM UTC, original submission:

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'.

Ludovic Courtès <civodul>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by sthibaul (Posted a comment)
  • -unavailable- added by civodul (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup