Skip to content

Conversation

@rianquinn
Copy link
Member

The "__rdtsc" function name is taken by some code in GCC,
which seems to collide on some 16.04 machines. This patch
renames rdtsc to read_tsc.

Signed-off-by: “Rian <“rianquinn@gmail.com”>

The "__rdtsc" function name is taken by some code in GCC,
which seems to collide on some 16.04 machines. This patch
renames rdtsc to read_tsc.

Signed-off-by: “Rian <“rianquinn@gmail.com”>
@cjp256
Copy link
Contributor

cjp256 commented Feb 13, 2017

+1, works for me :)

@rianquinn rianquinn merged commit 7bf4109 into Bareflank:master Feb 13, 2017
@rianquinn
Copy link
Member Author

@cjp256 merged

Copy link
Contributor

@cjp256 cjp256 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

if [[ ! -d /cygdrive/c/ewdk ]]; then
echo "Fetching EWDK. Please wait..."
wget -nv -O /tmp/ewdk.zip "https://go.microsoft.com/fwlink/p/?LinkID=699461"
curl "https://go.microsoft.com/fwlink/p/?LinkID=699461" -L --output /tmp/ewdk.zip
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

imo, something like local dl_path=$(mktemp) is the preferred approach over using hardcoded tmp paths... (or mktemp -d with the temp files within, that you can remove when finished).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agreed. PR welcome 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants