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

 
 

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

Submitter:  Ludovic Courtès <civodul>
Submitted:  Tue 14 Jun 2011 08:49:06 PM UTC
   
 
Category:  glibc Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Reproducibility:  None
Size (loc):  None Planned Release:  None
Effort:  0.00
Wiki-like text discussion box: 


* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code