Changeset caad59a in mainline


Ignore:
Timestamp:
2010-04-19T13:34:18Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9f1362d4
Parents:
3bdf3d3
Message:

move to GCC 4.5.0
fix two cases of uninitialized variable suspicion (hopefully in a conservative and harmless way)

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • tools/toolchain.sh

    r3bdf3d3 rcaad59a  
    142142       
    143143        BINUTILS_VERSION="2.20"
    144         GCC_VERSION="4.4.3"
     144        GCC_VERSION="4.5.0"
    145145       
    146146        BINUTILS="binutils-${BINUTILS_VERSION}.tar.bz2"
     
    165165        echo ">>> Downloading tarballs"
    166166        download_check "${BINUTILS_SOURCE}" "${BINUTILS}" "ee2d3e996e9a2d669808713360fa96f8"
    167         download_check "${GCC_SOURCE}" "${GCC_CORE}" "054b66f315b3d04ad06544ce26e72365"
    168         download_check "${GCC_SOURCE}" "${GCC_OBJC}" "34711c4de46eaf79aa018206dbec4389"
    169         download_check "${GCC_SOURCE}" "${GCC_CPP}" "cd179ec4f05ee17ce76464da25a2674c"
     167        download_check "${GCC_SOURCE}" "${GCC_CORE}" "58eda33c3184303628f91c42a7ab15b5"
     168        download_check "${GCC_SOURCE}" "${GCC_OBJC}" "8d8c01b6631b020cc6c167860fde2398"
     169        download_check "${GCC_SOURCE}" "${GCC_CPP}" "5ab93605af40def4844eda09ca769c2d"
    170170       
    171171        echo ">>> Removing previous content"
     
    196196        cd "${OBJDIR}"
    197197        check_error $? "Change directory failed."
    198         "${GCCDIR}/configure" "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" --with-gnu-as --with-gnu-ld --disable-nls --disable-threads --enable-languages=c,objc,c++,obj-c++ --disable-multilib --disable-libgcj --without-headers --disable-shared
     198        "${GCCDIR}/configure" "--target=${TARGET}" "--prefix=${PREFIX}" "--program-prefix=${TARGET}-" --with-gnu-as --with-gnu-ld --disable-nls --disable-threads --enable-languages=c,objc,c++,obj-c++ --disable-multilib --disable-libgcj --without-headers --disable-shared --enable-lto
    199199        check_error $? "Error configuring GCC."
    200200        PATH="${PATH}:${PREFIX}/bin" make all-gcc install-gcc
  • uspace/app/sbi/src/run_expr.c

    r3bdf3d3 rcaad59a  
    12811281                addr_prop->u.named->prop_d = deleg_p;
    12821282                break;
     1283        default:
     1284                ritem = NULL;
    12831285        }
    12841286
  • uspace/lib/socket/generic/socket_client.c

    r3bdf3d3 rcaad59a  
    299299static int socket_generate_new_id(void){
    300300        sockets_ref sockets;
    301         int socket_id;
     301        int socket_id = 0;
    302302        int count;
    303303
  • uspace/lib/socket/packet/packet_client.c

    r3bdf3d3 rcaad59a  
    156156packet_t packet_get_copy(int phone, packet_t packet){
    157157        packet_t copy;
    158         uint8_t * src;
    159         uint8_t * dest;
     158        uint8_t * src = NULL;
     159        uint8_t * dest = NULL;
    160160        size_t addrlen;
    161161
Note: See TracChangeset for help on using the changeset viewer.