bugGCC Compile Farm - Bugs: bug #20944, Please install bos.adt.syscalls on...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #20944: Please install bos.adt.syscalls on gcc111

Submitted by:  Emmanuel Thomé <ethome>
Submitted on:  Thu 04 Jul 2013 01:25:53 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: In Progress
Privacy: PublicAssigned to: Laurent GUERBY <guerby>
Open/Closed: Open

Thu 04 Jul 2013 02:51:12 PM UTC, comment #2:

It's better, but I have the impression that it could be even better (read: presently, it does not work). See transcript.

Best,

E.

-bash-4.2$ gcc -static ~/hello.c
ld: 0711-224 WARNING: Duplicate symbol: .open
ld: 0711-224 WARNING: Duplicate symbol: .openx
ld: 0711-224 WARNING: Duplicate symbol: .thread_wait
ld: 0711-224 WARNING: Duplicate symbol: .send
ld: 0711-224 WARNING: Duplicate symbol: .nrecvmsg
ld: 0711-224 WARNING: Duplicate symbol: .nrecvfrom
ld: 0711-224 WARNING: Duplicate symbol: .recvmsg
ld: 0711-224 WARNING: Duplicate symbol: .recvfrom
ld: 0711-224 WARNING: Duplicate symbol: .recv
ld: 0711-224 WARNING: Duplicate symbol: .nsendmsg
ld: 0711-224 WARNING: Duplicate symbol: .sendmsg
ld: 0711-224 WARNING: Duplicate symbol: .sendto
ld: 0711-224 WARNING: Duplicate symbol: .naccept
ld: 0711-224 WARNING: Duplicate symbol: .accept
ld: 0711-224 WARNING: Duplicate symbol: .fast_forward_collate_sb
ld: 0711-224 WARNING: Duplicate symbol: .forward_collate_sb
ld: 0711-224 WARNING: Duplicate symbol: .forw_pos_collate_sb
ld: 0711-224 WARNING: Duplicate symbol: .fast_forw_pos_collate_sb
ld: 0711-224 WARNING: Duplicate symbol: .fast_backward_collate_sb
ld: 0711-224 WARNING: Duplicate symbol: .backward_collate_sb
ld: 0711-224 WARNING: Duplicate symbol: .back_pos_collate_sb
ld: 0711-224 WARNING: Duplicate symbol: .fast_back_pos_collate_sb
ld: 0711-224 WARNING: Duplicate symbol: .fast_forward_collate_std
ld: 0711-224 WARNING: Duplicate symbol: .forward_collate_std
ld: 0711-224 WARNING: Duplicate symbol: .forw_pos_collate_std
ld: 0711-224 WARNING: Duplicate symbol: .fast_forw_pos_collate_std
ld: 0711-224 WARNING: Duplicate symbol: .fast_backward_collate_std
ld: 0711-224 WARNING: Duplicate symbol: .backward_collate_std
ld: 0711-224 WARNING: Duplicate symbol: .back_pos_collate_std
ld: 0711-224 WARNING: Duplicate symbol: .fast_back_pos_collate_std
ld: 0711-224 WARNING: Duplicate symbol: .fast_forw_pos_xfrm_sb
ld: 0711-224 WARNING: Duplicate symbol: .forw_pos_xfrm_sb
ld: 0711-224 WARNING: Duplicate symbol: .fast_forward_xfrm_sb
ld: 0711-224 WARNING: Duplicate symbol: .forward_xfrm_sb
ld: 0711-224 WARNING: Duplicate symbol: .fast_forw_pos_xfrm_std
ld: 0711-224 WARNING: Duplicate symbol: .forw_pos_xfrm_std
ld: 0711-224 WARNING: Duplicate symbol: .fast_forward_xfrm_std
ld: 0711-224 WARNING: Duplicate symbol: .forward_xfrm_std
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
ld: 0711-317 ERROR: Undefined symbol: appsettimer64
ld: 0711-317 ERROR: Undefined symbol: appgettimer64
ld: 0711-317 ERROR: Undefined symbol: get_max_semval
ld: 0711-317 ERROR: Undefined symbol: encrypted_pw_passlen
ld: 0711-317 ERROR: Undefined symbol: getpass_auto
ld: 0711-317 ERROR: Undefined symbol: crypt_r
ld: 0711-317 ERROR: Undefined symbol: max_history_size
ld: 0711-317 ERROR: Undefined symbol: max_pw_passlen
collect2: error: ld returned 8 exit status

Emmanuel Thomé <ethome>
Thu 04 Jul 2013 02:34:43 PM UTC, comment #1:

Could you try again? David installed some more AIX system files

Laurent GUERBY <guerby>
Project AdministratorIn charge of this item.
Thu 04 Jul 2013 01:25:53 PM UTC, original submission:

On gcc111, I am apparently unable to compile a static hello world program with -static.

-bash-4.2$ gcc -static ~/hello.c
ld: 0706-003 Cannot find or read import file: /lib/syscalls.exp
ld:accessx(): A file or directory in the path name does not exist.
collect2: error: ld returned 255 exit status

Googling indicates (*) that this is related to a missing system package, namely bos.adt.syscalls ; if at all possible, could the installation of this package be considered ?

Thanks,

E.

(*): among others, here is a link, admittedly referring to an outdated AIX. It seems to still be so these days with AIX 7.1:

http://blog.firetree.net/2005/07/21/static-linking-on-aix/

Emmanuel Thomé <ethome>

 

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 guerby (Posted a comment)
  • -unavailable- added by ethome (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):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 04 Jul 2013 02:34:43 PM UTCguerbyStatusNone=>In Progress
      Assigned toNone=>guerby
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup